snmp-exporter

Solid

Best practices for Prometheus snmp_exporter (v0.30.x): writing generator.yml modules, curating MIB walks, SNMPv2c/v3 auth, timeout tuning, Kubernetes deployment (Probe/ScrapeConfig CRDs, secrets, UDP egress), local docker testing, and debugging failed scrapes. Includes worked device references for Dell iDRAC 9/10, Cisco CBS250/350 (+ Catalyst 1200/1300), and NVIDIA/Mellanox Onyx switches.

DevOps & Infrastructure 3 stars 1 forks Updated yesterday MIT

Install

View on GitHub

Quality Score: 79/100

Stars 20%
20
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

# snmp_exporter best practices snmp_exporter is a **multi-target proxy**: one central instance walks SNMP on many devices; Prometheus tells it what to scrape per request via URL params (`/snmp?target=<ip>&module=<m1,m2>&auth=<name>`). Everything below assumes v0.30.x. The generator and exporter versions **must match** — a config generated by a different version can fail to load. Pin both in CI. This skill ends where the metrics land in Prometheus. Querying them, writing the PromQL, and building the dashboards or alerts on top belong to the **`prometheus-mimir-grafana`** skill (same `observability` plugin); shipping them to long-term storage is **`mimir-upgrade`** territory. ## Golden rules 1. **Never walk a whole vendor enterprise subtree.** Full-tree walks are the #1 cause of multi-minute scrapes, device-CPU exhaustion, and even crashed SNMP agents (Cisco documents this for CBS; iDRAC full walks take 2–5 min; Onyx serves all management through one easily-overloaded daemon). Walk the specific tables worth alerting on — a curated module is typically 10–100× smaller. Measured here: Cisco CBS full-tree = 4034 metrics vs curated = 63. 2. **Compose modules per scrape instead of duplicating walks.** Since v0.24 one scrape can request `module=if_mib,vendor_health`. Keep vendor modules health-only and reuse the stock `if_mib`, `system`, `hrDevice`, `hrStorage` modules for interfaces/uptime/CPU/memory. `sysUpTime` lives in `system` (moved out of `if_mib`...

Details

Author
air-gapped
Repository
air-gapped/skills
Created
3 months ago
Last Updated
yesterday
Language
Python
License
MIT

Integrates with

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Solid

prometheus-mimir-grafana

Query Prometheus and Grafana Mimir, write and debug PromQL, and build or fix Grafana dashboards — for agents solving problems from metrics. Covers the Prometheus HTTP API (`/api/v1/query`, `query_range`, `series`, `labels`, `metadata`), Mimir multi-tenancy (`X-Scope-OrgID`, federation `a|b|c`, per-tenant 422/429 limits), the PromQL surface (selectors, rate family, classic + native histograms, `histogram_quantile`, vector matching `on()`/`group_left`, recording rules), Grafana dashboard JSON (panels, targets, variables + interpolation specifiers, legacy `/api/dashboards/db` vs Grafana-12 `/apis/dashboard.grafana.app/v1beta1/…`), KPI frameworks (RED, USE, Golden Signals, SLO burn-rate), connection recipes, MCP servers vs curl, and the PromQL trap list.

3 Updated yesterday
air-gapped
DevOps & Infrastructure Listed

monitoring

Use this skill for Prometheus metrics, Grafana dashboards, alert rules, and ServiceMonitor wiring ONLY -- including instrumenting an endpoint with Prometheus counters or histograms. NOT for logs or traces: structured logging, OpenTelemetry spans, and log-trace correlation belong to observability. NOT for Helm liveness/readiness probes (the project's deployment workflow / infra-pack skills when enabled).

3 Updated today
atretyak1985
AI & Automation Listed

grafana-best-practice

Review, improve, organize, deploy, and verify Grafana dashboards, provisioned alert rules, and the Telegraf→InfluxDB→Grafana monitoring stack. Use when working on Grafana dashboards, dashboard folders, tags, legends, panel readability, Flux/InfluxDB query correctness or performance, Prometheus/Telegraf dimensions, Telegraf JSON/HTTP scraping, anonymous access, dashboard/alert provisioning, Grafana Docker deployments, high CPU or memory caused by dashboard queries, provisioned alert rules and Flux alert conditions, contact points and Telegram/notification delivery, or requests like "review this dashboard", "optimize Grafana panels", "why is this dashboard slow / using CPU", "fix legends", "move dashboards into a folder", "add tags", "set up Grafana alerting", "alert won't fire / won't deliver", "fix Telegram alerts", "route alerts to a Telegram topic/thread (message_thread_id)", "bump/upgrade the Grafana version", "deploy and verify dashboards", or "Grafana best practices".

85 Updated yesterday
wquguru