lib/snmp/open/options.rb in snmp-open-0.6.1 vs lib/snmp/open/options.rb in snmp-open-0.7.0

- old
+ new

@@ -10,24 +10,28 @@ context: '-n', no_check_increasing: { 'snmpbulkwalk' => '-Cc', 'snmpwalk' => '-Cc' }, + no_mib_name: '-Os', no_units: '-OU', non_symbolic: '-Oe', + non_symbolic_table_indexes: '-Ob', numeric: '-On', priv_password: '-X', # not recommended, see snmp.conf(5) priv_protocol: '-x', sec_level: '-l', sec_user: '-u', retries: '-r', timeout: '-t', host: nil }.freeze - # On some systems, SNMP command outputs will include symbolic values - # and/or value units. The parser doesn't support these, so disable them. + # On some systems, SNMP command outputs will include symbolic values, + # table indexes, and/or value units. The parser doesn't support these, so + # disable them. REQUIRED_BY_PARSER = { + '-Ob' => nil, '-Oe' => nil, '-OU' => nil }.freeze VALUES = {