prometheus-snmp-generator(1)

prometheus-snmp-generator - Config generator for prometheus-snmp-exporter

Section 1 prometheus-snmp-exporter bookworm source

Description

prometheus-snmp-generator

NAME

prometheus-snmp-generator - Config generator for prometheus-snmp-exporter

SYNOPSIS

prometheus-snmp-generator [<flags>] <command> [<args> ...]

DESCRIPTION

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

--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
-o, --output-path="snmp.yml"

Path to to write resulting config file

parse_errors

Debug: Print the parse errors output by NetSNMP

dump

Debug: Dump the parsed and prepared MIBs