PROMETHEUS-SNMP-EXPORTER(1)

πŸ’– PROMETHEUS-SNMP-EXPORTER πŸ’–

okay so bestie, welcome to the glow-up of prometheus-snmp-exporter, aka the Prometheus exporter for SNMP-enabled devices 🌸 it's a little program that goes and talks SNMP to your switches, routers and random boxes that speak SNMP, and turns all that into metrics Prometheus can vibe with. this is section 1 of your journey, iykyk.


✨ SYNOPSIS ✨

prometheus-snmp-exporter [<flags>]

that's it. that's the whole vibe. flags only, no positional args, no drama πŸ’…


🫢 DESCRIPTION 🫢

ngl the original page just... leaves this one blank? iconic of it. no description text, no lore, just vibes. so the whole personality of this tool lives down there in OPTIONS. scroll, bestie, it's giving a whole buffet πŸ‘‘


πŸŽ€ OPTIONS πŸŽ€

  • -h, --help β€” shows you the help, and it's context-sensitive so it knows what you're on about. also lowkey try --help-long and --help-man if you want the extended director's cut πŸ¦‹
  • --snmp.wrap-large-counters β€” wraps 64-bit counters so you don't get floating point rounding being messy and ruining your numbers. no more cursed rounding artifacts, periodt.
  • --snmp.source-address β€” the source address to send SNMP from, formatted as address:port, used when it's connecting to targets. if the port part is empty or 0 β€” like 127.0.0.1: or [::1]:0 β€” then the source port number gets automatically (randomly) chosen for you ✨
  • --config.file=/etc/prometheus/snmp.yml β€” the path to the configuration file. note the default, bestie, it's literally /etc/prometheus/snmp.yml πŸ“‚
  • --dry-run β€” only checks that your config is valid, then exits. the "am i okay?" check πŸ₯Ί
  • --snmp.module-concurrency=1 β€” how many modules get fetched concurrently per scrape. default is 1 because patience is a virtue.
  • --snmp.debug-packets β€” includes a full debug trace of SNMP packet traffic. for when you really need to see every single little packet πŸ•΅οΈβ™€οΈ
  • --config.expand-environment-variables β€” expands environment variables, so you can source secrets that way πŸ”
  • --web.telemetry-path β€” the path under which metrics get exposed.
  • --web.systemd-socket β€” uses systemd socket activation listeners instead of port listeners. Linux only, so if you're not on Linux this one is not your moment πŸ’€
  • --web.listen-address=:9116 β€” the addresses on which it exposes metrics and the web interface. it's repeatable for multiple addresses. examples: :9100 or [::1]:9100 for http, and vsock://:9100 for vsock 🌈 default is :9116.
  • --web.config.file β€” path to a configuration file that can enable TLS or authentication. see: https://github.com/prometheus/exporter-toolkit/blob/master/docs/web-configuration.md πŸ”
  • --log.level=info β€” only logs messages with the given severity or above. one of: [debug, info, warn, error]. default is info.
  • --log.format=logfmt β€” output format of log messages. one of: [logfmt, json]. default is logfmt.
  • --version β€” shows the application version. slay, but make it a number πŸŽ€

and that's the whole page, bestie 🫢 this was prometheus-snmp-exporter version 0.30.1, dated June 2026 β€” go forth and export some SNMP, you absolute main character πŸ‘‘πŸ’œ

πŸ“¦ where this page comes from