OS Manuals

/usr/bin/snmp_exporter

SNMP Exporter for Prometheus

From prometheus-snmp-exporter 0.31.0-r2 (enterprise-packages), captured 2026-11-08 by running snmp_exporter --help (exit 0). permalink

usage: snmp_exporter [<flags>]


Flags:
  -h, --[no-]help                Show context-sensitive help (also try --help-long and --help-man).
      --[no-]snmp.wrap-large-counters
                                 Wrap 64-bit counters to avoid floating point rounding.
      --snmp.source-address=""   Source address to send snmp from in the format 'address:port' to
                                 use when connecting targets. If the port parameter is empty or '0',
                                 as in '127.0.0.1:' or '[::1]:0', a source port number is
                                 automatically (random) chosen.
      --config.file=snmp.yml ...
                                 Path to configuration file.
      --[no-]dry-run             Only verify configuration is valid and exit.
      --snmp.module-concurrency=1
                                 The number of modules to fetch concurrently per scrape
      --[no-]snmp.debug-packets  Include a full debug trace of SNMP packet traffics.
      --[no-]config.expand-environment-variables
                                 Expand environment variables to source secrets
      --web.telemetry-path="/metrics"
                                 Path under which to expose metrics.
      --[no-]web.systemd-socket  Use systemd socket activation listeners instead of port listeners
                                 (Linux only).
      --web.listen-address=:9116 ...
                                 Addresses on which to expose metrics and web interface. Repeatable
                                 for multiple addresses. Examples: `:9100` or `[::1]:9100` for http,
                                 `vsock://:9100` for vsock
      --web.config.file=""       Path to 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 log messages with the given severity or above. One of: [debug,
                                 info, warn, error]
      --log.format=logfmt        Output format of log messages. One of: [logfmt, json]
      --[no-]version             Show application version.
Options (9)
OptionDescriptionSource
-hShow context-sensitive help (also try --help-long and --help-man).help
--snmp.source-address ""Source address to send snmp from in the format 'address:port' to use when connecting targets.help
--config.file snmp.ymlPath to configuration file.help
--snmp.module-concurrency 1The number of modules to fetch concurrently per scrapehelp
--web.telemetry-path "/metrics"Path under which to expose metrics.help
--web.listen-address :9116Addresses on which to expose metrics and web interface.help
--web.config.file ""Path to configuration file that can enable TLS or authentication.help
--log.level infoOnly log messages with the given severity or above.help
--log.format logfmtOutput format of log messages.help

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.