########################################################################### # # snmp.conf # # - created by the snmpconf configuration program # ########################################################################### # SECTION: Default Authentication Options # # This section defines the default authentication # information. Setting these up properly in your # ~/.snmp/snmp.conf file will greatly reduce the amount of # command line arguments you need to type (especially for snmpv3). # defaultport: The default port number to use # This token specifies the default port number you want packets to # be sent to and received from. # override: with -p on the command line. # arguments: portnum #defaultport 161 # defversion: The default snmp version number to use. # override: with -v on the command line. # arguments: 1|2c|3 defversion 2c ########################################################################### # SECTION: Debugging output options # # This section allows debugging output of various kinds to # be turned on or off. # dodebugging: Turns debugging output on or off (0|1) # arguments: (0|1) dodebugging no ########################################################################### # SECTION: Textual mib parsing # # This section controls the textual mib parser. Textual # mibs are parsed in order to convert OIDs, enumerated # lists, and ... to and from textual representations # and numerical representations. # mibdirs: Specifies directories to be searched for mibs. # Adding a '+' sign to the front of the argument appends the new # directory to the list of directories already being searched. # arguments: [+]directory[:directory...] mibdirs /usr/share/snmp/mibs # showmiberrors: Should errors in mibs be displayed when the mibs are loaded # arguments: (1|yes|true|0|no|false) showmiberrors yes ########################################################################### # SECTION: Output style options # # This section allows you to control how the output of the # various commands will be formated # logtimestamp: Should timestamps be shown on the output # arguments: (1|yes|true|0|no|false) logtimestamp yes # printnumericenums: Print enums numericly or textually # command line equivelent: -Oe # arguments: (1|yes|true|0|no|false) printnumericenums yes # dontbreakdownoids: When OIDs contain a index to a table, they are broken # into the displayable pieces and shown to you. # For example the oid vacmSecurityModel.0.3.119.101.115 # is nicely broken down by # default and the string hidden in the oid is shown # to you as vacmSecurityModel.0."wes". This token and the -Ob # option diables this feature and displays it as # vacmSecurityModel.0.3.119.101.115 again. # command line equivelent: -Ob # arguments: (1|yes|true|0|no|false) dontbreakdownoids no # escapequotes: Should the quotation marks in broken down oids be escaped # If you want to cut and paste oids that have been broken down # into indexes and strings, this will put a backslash in front of them # so your shell will pass them rather than interpret them. # arguments: (1|yes|true|0|no|false) escapequotes yes # quickprinting: Make the output simple for quick parsing # This option removes the equal sign and value identifies leaving # just the oid and the value on the output for easier parsing in scripts # command line equivelent: -Oq # arguments: (1|yes|true|0|no|false) # (oe) https://qa.mandriva.com/show_bug.cgi?id=55952 quickprinting no # numerictimeticks: Print timeticks as a number and not a time-string # command line equivelent: # arguments: (1|yes|true|0|no|false) numerictimeticks yes # suffixprinting: Shorten OIDs printed to the screen # possible values: # - 0: UCD-style. OIDs are displayed like: # - system.sysUpTime.0 # - 1: deletes all by the last symbolic part of the OID: # - system.sysUpTime.0 becomes sysUpTime.0 # - 2: is a variant of this, adding the name of the MIB # - that defined this object: # - system.sysUpTime.0 becomes SNMPv2-MIB::sysUpTime.0 # - (This is the default with net-snmp v5) # command line equivelent: 0 = -Ou, 1 = -Os, 2 = -OS # arguments: (1|2) #suffixprinting 1