|Linux & Unix Commands - Search Man Pages
SNMP.CONF(5) Net-SNMP SNMP.CONF(5)
/usr/share/snmp/snmp.conf - configuration file for the Net-SNMP applications.
~/.snmp/snmp.conf - personal configuration file.
snmp.conf is the configuration file which define how the Net-SNMP applications operate.
Tokens that can be put in them are described in the DIRECTIVES section below.
PLEASE READ FIRST
Make sure you make these files readable only by the user if you are storing sensitive
information in them like passphrases!
First, make sure you have read the snmp_config(5) manual page that describes how the Net-
SNMP configuration files operate, where they are located and how they all work together.
Look for textual MIBs to parse in the list of ':' separated directories. If the
directive value starts with a '+' it prepends this list to the front of the default
directory list compiled into the application. Note that this value can be overrid-
den by the MIBDIRS environment variable.
Specifies a ':' separated list of MIB tokens that represent textual MIB files that
should be found and parsed. If the directive value starts with a '+' it prepends
this list to the front of the default MIB token list compiled into the application.
The special keyword of "ALL" forces all MIBs files found to be read. Note that the
value specified here can be overridden by the MIBS environment variable.
Specifies a textual MIB file to read and parse, in addition to the list read from
the MIBs token. Note that the value specified here can be overridden by the MIB-
FILES environment variable.
The default port number that all SNMP applications and daemons should use.
The default SNMP version to use.
The default SNMPv1 and SNMPv2c community string to use.
The default SNMPv3 USM security name you want to use for SNMPv3 requests.
The default SNMPv3 context name you want to use.
The default SNMPv3 USM passphrase(s) to use. defPassphrase will be used for both
authentication and privacy pass phrases if it is specified.
The SNMPv3 USM authentication type to use.
The SNMPv3 USM privacy type to use. Currently, DES is the only possible value.
The SNMPv3 default security level to use.
Whether or not to display textual MIB parsing errors when commands are run.
Whether or not MIBs that are parsed should be strict about comment termination.
"--" terminates a comment if this is true. Many MIBs have broken comments in them,
hence this option.
Allow underline characters in MIBs (illegal).
The minimum warning level of the warnings printed by the MIB parser.
Whether the commands should log timestamps with their error/message logging or not.
Note that output will not look as pretty with timestamps if the source code that is
doing the logging does incremental logging of messages that are not line buffered
before being passed to the logging routines.
Equivalent to -Oe.
Equivalent to -On.
Equivalent to -Ob.
Equivalent to -OE.
Equivalent to -Oq.
Equivalent to -OT.
If the value is 1, its equivalent to -Os and if the value is 2 it's equivalent to
Equivalent to -OX.
Disables the validation of values that is done by snmpset before issuing the
request to the agent.
Whether the commands should dump packets by default.
Turns on debugging for all applications run if set to 1.
The debugging tokens that should be printed. See the snmpcmd(1) manual page for
debugging usage details.
snmp_config(5), read_config(3), snmpcmd(1).
4th Berkeley Distribution 08 Feb 2002 SNMP.CONF(5)
All times are GMT -4. The time now is 04:21 AM.