File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change 9898 failOnParseErrors = kingpin .Flag ("fail-on-parse-errors" , "Exit with a non-zero status if there are MIB parsing errors" ).Default ("false" ).Bool ()
9999 snmpMIBOpts = kingpin .Flag ("snmp.mibopts" , "Toggle various defaults controlling MIB parsing, see snmpwalk --help" ).String ()
100100 generateCommand = kingpin .Command ("generate" , "Generate snmp.yml from generator.yml" )
101- userMibsDir = generateCommand .Flag ("mibs-dir" , "Paths to mibs directory" ).Default ("" ).Short ('m' ).Strings ()
101+ userMibsDir = kingpin .Flag ("mibs-dir" , "Paths to mibs directory" ).Default ("" ).Short ('m' ).Strings ()
102102 generatorYmlPath = generateCommand .Flag ("generator-path" , "Path to the input generator.yml file" ).Default ("generator.yml" ).Short ('g' ).String ()
103103 outputPath = generateCommand .Flag ("output-path" , "Path to write the snmp_exporter's config file" ).Default ("snmp.yml" ).Short ('o' ).String ()
104104 parseErrorsCommand = kingpin .Command ("parse_errors" , "Debug: Print the parse errors output by NetSNMP" )
You can’t perform that action at this time.
0 commit comments