prometheus-snmp-generator1
Config generator for prometheus-snmp-exporter
Usage
- prometheus-snmp-generator [<flags>] <command> [<args> ...]
Overview
Options
-
-h, --help -
Show context-sensitive help (also try --help-long and --help-man).
-
--fail-on-parse-errors -
Exit with a non-zero status if there are MIB parsing errors
-
--snmp.mibopts -
Toggle various defaults controlling MIB parsing, see snmpwalk --help
- -m, --mibs-dir=
-
Paths to mibs directory
-
--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]
Commands
help [<command>...]
Show help.
generate [<flags>]
Generate snmp.yml from generator.yml
-
-g, --generator-path="generator.yml" -
Path to the input generator.yml file
-
-o, --output-path="snmp.yml" -
Path to write the snmp_exporter's config file
parse_errors
Debug: Print the parse errors output by NetSNMP
dump
Debug: Dump the parsed and prepared MIBs
Releases
4 releases since Debian 10 (Buster); the text changed 2 times.
--fail-on-parse-errors since Debian 11 (Bullseye);
--generator-path since Debian 13 (Trixie);
--snmp.mibopts since Debian 13 (Trixie);
-g since Debian 13 (Trixie).