1 .TH SNMP.CONF 5 "11 Dec 2002" VVERSIONINFO "Net-SNMP"
4 SYSCONFDIR/snmp/snmp.conf - configuration file for the Net-SNMP applications.
6 ~/.snmp/snmp.conf - personal configuration file.
9 is the configuration file which define how the Net-SNMP applications
10 operate. Tokens that can be put in them are described in the
14 Make sure you make these files readable only by the user if you are
15 storing sensitive information in them like passphrases!
17 First, make sure you have read the
19 manual page that describes how the Net-SNMP configuration files
20 operate, where they are located and how they all work together.
22 .IP "mibdirs (mib-dirs|+mib-dirs)"
23 Look for textual MIBs to parse in the list of ':' separated
24 directories. If the directive value starts with a '+' it prepends
25 this list to the front of the default directory list compiled into the
26 application. Note that this value can be overridden by the
29 .IP "mibs (mib-tokens|+mib-tokens)"
30 Specifies a ':' separated list of MIB tokens that represent textual
31 MIB files that should be found and parsed. If the directive value
32 starts with a '+' it prepends this list to the front of the default
33 MIB token list compiled into the application. The special keyword of
34 "ALL" forces all MIBs files found to be read. Note that the value
35 specified here can be overridden by the
39 Specifies a textual MIB file to read and parse, in addition to the
40 list read from the MIBs token. Note that the value specified here can
44 .IP "persistentDir directory"
45 The directory where snmpd and snmptrapd stores their persistent data
47 .IP "defaultPort port"
48 The default port number that all SNMP applications and daemons should use.
49 .IP "defVersion (1|2c|3)"
50 The default SNMP version to use.
51 .IP "defCommunity string"
52 The default SNMPv1 and SNMPv2c community string to use.
53 .IP "defSecurityName string"
54 The default SNMPv3 USM security name you want to use for SNMPv3 requests.
55 .IP "defContext string"
56 The default SNMPv3 context name you want to use.
57 .IP "defPassphrase string"
58 .IP "defAuthPassphrase string"
59 .IP "defPrivPassphrase string"
60 The default SNMPv3 USM passphrase(s) to use.
62 will be used for both authentication and privacy pass phrases if it is
64 .IP "defAuthType MD5|SHA"
65 The SNMPv3 USM authentication type to use.
67 The SNMPv3 USM privacy type to use. Currently, DES is the only
69 .IP "defSecurityLevel noAuthNoPriv|authNoPriv|authPriv"
70 The SNMPv3 default security level to use.
71 .IP "showMibErrors (1|yes|true|0|no|false)"
72 Whether or not to display textual MIB parsing errors when commands are
74 .IP "strictCommentTerm (1|yes|true|0|no|false)"
75 Whether or not MIBs that are parsed should be strict about comment
76 termination. "--" terminates a comment if this is true. Many
77 MIBs have broken comments in them, hence this option.
78 .IP "mibAllowUnderline (1|yes|true|0|no|false)"
79 Allow underline characters in MIBs (illegal).
80 .IP "mibWarningLevel integerValue"
81 The minimum warning level of the warnings printed by the MIB parser.
82 .IP "logTimestamp (1|yes|true|0|no|false)"
83 Whether the commands should log timestamps with their error/message
84 logging or not. Note that output will not look as pretty with
85 timestamps if the source code that is doing the logging does
86 incremental logging of messages that are not line buffered before
87 being passed to the logging routines.
88 .IP "printNumericEnums (1|yes|true|0|no|false)"
91 .IP "printNumericOids (1|yes|true|0|no|false)"
94 .IP "dontBreakdownOids (1|yes|true|0|no|false)"
97 .IP "escapeQuotes (1|yes|true|0|no|false)"
100 .IP "quickPrinting (1|yes|true|0|no|false)"
103 .IP "dontPrintUnits (1|yes|true|0|no|false)"
106 .IP "printHexText (1|yes|true|0|no|false)"
109 .IP "suffixPrinting (0|1|2)"
110 If the value is 1, its equivalent to
112 and if the value is 2 it's equivalent to
114 .IP "oidOutputFormat (1|2|3|4|5|6)
115 Maps -O options as follow: -Os=1, -OS=2, -Of=3, -On=4, -Ou=5.
116 The value 6 has no matching -O option. It suppresses output.
117 .IP "extendedIndex (1|yes|true|0|no|false)"
120 .IP "noRangeCheck (1|yes|true|0|no|false)"
121 Disables the validation of values that is done by
123 before issuing the request to the agent.
126 .IP "noDisplayHint (1|yes|true|0|no|false)"
127 Disables the use of DISPLAY-HINT information when parsing indices and
128 values to set. Equivalent to
130 .IP "dumpPacket (1|yes|true|0|no|false)"
131 Whether the commands should dump packets by default.
132 .IP "doDebugging (1|0)"
133 Turns on debugging for all applications run if set to 1.
134 .IP "debugTokens TOKEN[,TOKEN...]"
135 The debugging tokens that should be printed. See the
137 manual page for debugging usage details.
139 snmp_config(5), read_config(3), snmpcmd(1).