561 lines
21 KiB
HTML
561 lines
21 KiB
HTML
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
<HTML><HEAD><TITLE>Man page of SNMP.CONF</TITLE>
|
|
</HEAD><BODY>
|
|
<H1>SNMP.CONF</H1>
|
|
Section: Net-SNMP (5)<BR>Updated: 21 Apr 2010<BR><A HREF="#index">Index</A>
|
|
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
|
|
|
|
<A NAME="lbAB"> </A>
|
|
<H2>NAME</H2>
|
|
|
|
snmp.conf - configuration files for the Net-SNMP applications
|
|
<A NAME="lbAC"> </A>
|
|
<H2>DESCRIPTION</H2>
|
|
|
|
Applications built using the Net-SNMP libraries typically use one or
|
|
more configuration files to control various aspects of their operation.
|
|
These files (<B>snmp.conf</B> and <B>snmp.local.conf</B>) can be located
|
|
in one of several locations, as described in the <I><A HREF="/cgi-bin/man/man2html?5+snmp_config">snmp_config</A>(5)</I>
|
|
manual page.
|
|
<P>
|
|
|
|
In particular, /etc/snmp/snmp.conf is a common file,
|
|
containing the settings shared by all users of the system.
|
|
~/.snmp/snmp.conf is a personal file, with the settings
|
|
specific to a particular user.
|
|
<A NAME="lbAD"> </A>
|
|
<H2>HOST-SPECIFIC FILES</H2>
|
|
|
|
Host-specific files may also be loaded and will be searched for if a
|
|
transport name is specified that matches a <I>PATH/hosts/HOST.conf</I>
|
|
file. For example, if you wanted a particular host to use SNMPv2c by
|
|
default you could create a ~/.snmp/hosts/NAME.conf file and in it put:
|
|
<DL COMPACT><DT id="1"><DD>
|
|
<P>
|
|
|
|
defVersion 2c
|
|
</DL>
|
|
|
|
<P>
|
|
|
|
Any connections set to connect to the hostname <I>NAME</I> will use
|
|
SNMPv2c. Also see the <I>transport</I> token below for additional
|
|
host-specific examples.
|
|
<P>
|
|
|
|
Host-specific configuration files are loaded at the time the
|
|
connection is opened. Thus they're generally loaded after all other
|
|
configuration files and can be used to override settings from the
|
|
generic files.
|
|
<P>
|
|
|
|
To avoid loading any host-specific config files set
|
|
"dontLoadHostConfig true" in your snmp.conf file.
|
|
<A NAME="lbAE"> </A>
|
|
<H2>COMMAND-LINE OPTIONS</H2>
|
|
|
|
All of the tokens described in this file can be used on the command
|
|
line of Net-SNMP applications as well by prefixing them with "--".
|
|
EG, specifying <I>--dontLoadHostConfig=true</I> on the command line will
|
|
turn of loading of the host specific configuration files.
|
|
<A NAME="lbAF"> </A>
|
|
<H2>IMPORTANT NOTE</H2>
|
|
|
|
Several of these directives may contain sensitive information
|
|
(such as pass phrases). Configuration files that include such
|
|
settings should only be readable by the user concerned.
|
|
<P>
|
|
|
|
As well as application-specific configuration tokens, there are
|
|
several directives that relate to standard library behaviour,
|
|
relevant to most Net-SNMP applications. Many of these correspond
|
|
to standard command-line options, which are described in the
|
|
<I><A HREF="/cgi-bin/man/man2html?1+snmpcmd">snmpcmd</A>(1)</I> manual page.
|
|
<P>
|
|
|
|
These directives can be divided into several distinct groups.
|
|
<A NAME="lbAG"> </A>
|
|
<H2>CLIENT BEHAVIOUR</H2>
|
|
|
|
<DL COMPACT>
|
|
<DT id="2">defDomain application domain<DD>
|
|
The transport domain that should be used for a certain application type unless
|
|
something else is specified.
|
|
<DT id="3">defTarget application domain target<DD>
|
|
The target that should be used for connections to a certain application if the
|
|
connection should be in a specific domain.
|
|
<DT id="4">defaultPort PORT<DD>
|
|
defines the default UDP port that client SNMP applications will
|
|
attempt to connect to. This can be overridden by explicitly
|
|
including a port number in the <I>AGENT</I> specification.
|
|
See the <I><A HREF="/cgi-bin/man/man2html?1+snmpcmd">snmpcmd</A>(1)</I> manual page for more details.
|
|
<DT id="5"><DD>
|
|
If not specified, the default value for this token is 161.
|
|
<DT id="6">transport HOSTSPECIFIER<DD>
|
|
This special token should go into a hostname-specific configuration
|
|
file in a <I>hosts</I> sub-directory. For example if the file
|
|
<I>hosts/foo.conf</I> exists in the search path it will be loaded if a
|
|
transport name of <I>foo</I> was used. Within the foo.conf file you may
|
|
put both general snmp.conf settings as well as a special
|
|
<I>transport</I> string to specify the destination to connect to. For
|
|
example, putting:
|
|
<DL COMPACT><DT id="7"><DD>
|
|
<DL COMPACT>
|
|
<DT id="8"><DD>
|
|
transport tcp:foo.example.com:9876
|
|
</DL>
|
|
</DL>
|
|
|
|
<DT id="9"><DD>
|
|
in the <I>hosts/foo.conf</I> file will make applications referencing
|
|
the <I>foo</I> hostname (e.g. <I>snmpget</I>) to actually connect via
|
|
TCP to <I>foo.exmaple.com</I> on port 9876.
|
|
<DT id="10">defVersion (1|2c|3)<DD>
|
|
defines the default version of SNMP to use.
|
|
This can be overridden using the <B>-v</B> option.
|
|
<DT id="11">defCommunity STRING<DD>
|
|
defines the default community to use for SNMPv1 and SNMPv2c requests.
|
|
This can be overridden using the <B>-c</B> option.
|
|
|
|
<DT id="12">alias NAME DEFINITION<DD>
|
|
Creates an aliased tied to NAME for a given transport definition. The
|
|
alias can the be referred to using an alias: prefix. Eg, a line of
|
|
"alias here udp:127.0.0.1:6161" would allow you to use a destination
|
|
host of "alias:here" instead of "udp:127.0.0.1:6161". This becomes
|
|
more useful with complex transport addresses involving IPv6 addresses,
|
|
etc.
|
|
<DT id="13">dumpPacket yes<DD>
|
|
defines whether to display a hexadecimal dump of the raw SNMP requests
|
|
sent and received by the application.
|
|
This is equivalent to the <B>-d</B> option.
|
|
<DT id="14">doDebugging (1|0)<DD>
|
|
turns on debugging for all applications run if set to 1.
|
|
|
|
|
|
|
|
|
|
<DT id="15">debugTokens TOKEN[,TOKEN...]<DD>
|
|
defines the debugging tokens that should be turned on when
|
|
<I>doDebugging</I> is set.
|
|
This is equivalent to the <B>-D</B> option.
|
|
<DT id="16">debugLogLevel (emerg|alert|crit|err|warning|notice|info|debug)<DD>
|
|
Set the priority level for logging of debug output. Defaults to debug.
|
|
|
|
<DT id="17">16bitIDs yes<DD>
|
|
restricts requestIDs, etc to 16-bit values.
|
|
<DT id="18"><DD>
|
|
The SNMP specifications define these ID fields as 32-bit quantities,
|
|
and the Net-SNMP library typically initialises them to random values
|
|
for security.
|
|
However certain (broken) agents cannot handle ID values greater than
|
|
2^16 - this option allows interoperability with such agents.
|
|
<DT id="19">clientaddr [<transport-specifier>:]<transport-address><DD>
|
|
specifies the source address to be used by command-line applications
|
|
when sending SNMP requests. See <I><A HREF="/cgi-bin/man/man2html?1+snmpcmd">snmpcmd</A>(1)</I> for more information
|
|
about the format of addresses.
|
|
<DT id="20"><DD>
|
|
This value is also used by <B>snmpd</B> when generating notifications.
|
|
|
|
|
|
|
|
|
|
<DT id="21">clientaddrUsesPort no<DD>
|
|
specifies, if clientaddr option contains a port number. Set this option
|
|
to "yes", if clientaddr contains a port number and this port should
|
|
be used for sending outgoing SNMP requests.
|
|
<DT id="22">clientRecvBuf INTEGER<DD>
|
|
specifies the desired size of the buffer to be used when receiving
|
|
responses to SNMP requests.
|
|
If the OS hard limit is lower than the <I>clientRecvBuf</I> value,
|
|
then this will be used instead.
|
|
Some platforms may decide to increase the size of the buffer
|
|
actually used for internal housekeeping.
|
|
<DT id="23"><DD>
|
|
This directive will be ignored if the platforms does not support
|
|
<I>setsockopt()</I>.
|
|
<DT id="24">clientSendBuf INTEGER<DD>
|
|
is similar to <I>clientRecvBuf</I>, but applies to the size
|
|
of the buffer used when sending SNMP requests.
|
|
<DT id="25">noRangeCheck yes<DD>
|
|
disables the validation of varbind values against the MIB definition
|
|
for the relevant OID.
|
|
This is equivalent to the <B>-Ir</B> option.
|
|
<DT id="26"><DD>
|
|
This directive is primarily relevant to the <B>snmpset</B> command,
|
|
but will also apply to any application that calls <I>snmp_add_var()</I>
|
|
|
|
with a non-NULL value.
|
|
|
|
|
|
|
|
<DT id="27">noTokenWarnings<DD>
|
|
disables warnings about unknown config file tokens.
|
|
<DT id="28">reverseEncodeBER (1|yes|true|0|no|false)<DD>
|
|
controls how the encoding of SNMP requests is handled.
|
|
<DT id="29"><DD>
|
|
The default behaviour is to encode packets starting from the end of
|
|
the PDU and working backwards.
|
|
This directive can be used to disable this behaviour, and build
|
|
the encoded request in the (more obvious) forward direction.
|
|
<DT id="30"><DD>
|
|
It should not normally be necessary to change this setting, as
|
|
the encoding is basically the same in either case - but working
|
|
backwards typically produces a slightly more efficient encoding,
|
|
and hence a smaller network datagram.
|
|
<DT id="31">dontLoadHostConfig (1|yes|true|0|no|false)<DD>
|
|
Specifies whether or not the host-specific configuration files are
|
|
loaded. Set to "true" to turn off the loading of the host specific
|
|
configuration files.
|
|
<DT id="32">retries INTEGER<DD>
|
|
Specifies the number of retries to be used in the requests.
|
|
<DT id="33">timeout INTEGER<DD>
|
|
Specifies the timeout in seconds between retries.
|
|
|
|
|
|
|
|
</DL>
|
|
<A NAME="lbAH"> </A>
|
|
<H2>SNMPv1/SNMPv2c SETTINGS</H2>
|
|
|
|
<DL COMPACT>
|
|
<DT id="34">disableSNMPv1 (1|yes|true|0|no|false)<DD>
|
|
<DT id="35">disableSNMPv2c (1|yes|true|0|no|false)<DD>
|
|
Disables protocol versions at runtime. Incoming and outgoing packets for
|
|
the protocol will be dropped.
|
|
</DL>
|
|
<A NAME="lbAI"> </A>
|
|
<H2>SNMPv3 SETTINGS</H2>
|
|
|
|
<DL COMPACT>
|
|
<DT id="36">disableSNMPv3 (1|yes|true|0|no|false)<DD>
|
|
Disables protocol versions at runtime. Incoming and outgoing packets for
|
|
the protocol will be dropped.
|
|
<DT id="37">defSecurityName STRING<DD>
|
|
defines the default security name to use for SNMPv3 requests.
|
|
This can be overridden using the <B>-u</B> option.
|
|
<DT id="38">defSecurityLevel noAuthNoPriv|authNoPriv|authPriv<DD>
|
|
defines the default security level to use for SNMPv3 requests.
|
|
This can be overridden using the <B>-l</B> option.
|
|
<DT id="39"><DD>
|
|
If not specified, the default value for this token is <I>noAuthNoPriv</I>.
|
|
|
|
|
|
|
|
<DL COMPACT><DT id="40"><DD>
|
|
<DL COMPACT>
|
|
<DT id="41">Note:<DD>
|
|
<I>authPriv</I> is only available if the software has been compiled
|
|
to use the OpenSSL libraries.
|
|
</DL>
|
|
</DL>
|
|
|
|
<DT id="42">defPassphrase STRING<DD>
|
|
<DT id="43">defAuthPassphrase STRING<DD>
|
|
<DT id="44">defPrivPassphrase STRING<DD>
|
|
define the default authentication and privacy pass phrases to use
|
|
for SNMPv3 requests.
|
|
These can be overridden using the <B>-A</B> and <B>-X</B> options respectively.
|
|
<DT id="45"><DD>
|
|
The
|
|
<B>defPassphrase</B>
|
|
|
|
value will be used for the authentication and/or privacy pass phrases
|
|
if either of the other directives are not specified.
|
|
<DT id="46">defAuthType MD5|SHA|SHA-512|SHA-384|SHA-256|SHA-224<DD>
|
|
<DT id="47">defPrivType DES|AES<DD>
|
|
define the default authentication and privacy protocols to use for
|
|
SNMPv3 requests.
|
|
These can be overridden using the <B>-a</B> and <B>-x</B> options respectively.
|
|
<DT id="48"><DD>
|
|
If not specified, SNMPv3 requests will default to MD5 authentication
|
|
and DES encryption.
|
|
<DL COMPACT><DT id="49"><DD>
|
|
<DL COMPACT>
|
|
<DT id="50">Note:<DD>
|
|
If the software has not been compiled to use the OpenSSL libraries,
|
|
then only MD5 authentication is supported.
|
|
Neither SHA authentication nor any form of encryption will be available.
|
|
</DL>
|
|
</DL>
|
|
|
|
<DT id="51">defContext STRING<DD>
|
|
defines the default context to use for SNMPv3 requests.
|
|
This can be overridden using the <B>-n</B> option.
|
|
<DT id="52"><DD>
|
|
If not specified, the default value for this token is the default context
|
|
(i.e. the empty string "").
|
|
<DT id="53">defSecurityModel STRING<DD>
|
|
defines the security model to use for SNMPv3 requests.
|
|
The default value is "usm" which is the only widely
|
|
used security model for SNMPv3.
|
|
<DT id="54">defAuthMasterKey 0xHEXSTRING<DD>
|
|
<DT id="55">defPrivMasterKey 0xHEXSTRING<DD>
|
|
<DT id="56">defAuthLocalizedKey 0xHEXSTRING<DD>
|
|
<DT id="57">defPrivLocalizedKey 0xHEXSTRING<DD>
|
|
define the (hexadecimal) keys to be used for SNMPv3 secure communications.
|
|
SNMPv3 keys are frequently derived from a passphrase, as discussed in
|
|
the <I>defPassphrase</I> section above. However for improved security a
|
|
truely random key can be generated and used instead (which would
|
|
normally has better entropy than a password unless it is
|
|
amazingly long).
|
|
The directives are equivalent to the short-form
|
|
command line options <B>-3m</B>, <B>-3M</B>, <B>-3k</B>, and <B>-3K</B>.
|
|
<DT id="58"><DD>
|
|
Localized keys are
|
|
master keys which have been converted to a unique key which is only
|
|
suitable for on particular SNMP engine (agent). The length of the key
|
|
needs to be appropriate for the authentication or encryption type
|
|
being used (auth keys: MD5=16 bytes, SHA1=20 bytes;
|
|
priv keys: DES=16 bytes (8
|
|
bytes of which is used as an IV and not a key), and AES=16 bytes).
|
|
<DT id="59">sshtosnmpsocket PATH<DD>
|
|
Sets the path of the <B>sshtosnmp</B> socket created by an application
|
|
(e.g. snmpd) listening for incoming ssh connections through the
|
|
<B>sshtosnmp</B> unix socket.
|
|
<DT id="60">sshtosnmpsocketperms MODE [OWNER [GROUP]]<DD>
|
|
Sets the mode, owner and group of the <B>sshtosnmp</B> socket created by
|
|
an application (e.g. <B>snmpd</B>) listening for incoming ssh connections
|
|
through the <B>sshtosnmp</B> unix socket. The socket needs to be read/write
|
|
privileged for SSH users that are allowed to connect to the SNMP
|
|
service (VACM access still needs to be granted as well, most likely
|
|
through the TSM security model).
|
|
<DT id="61">sshusername NAME<DD>
|
|
Sets the SSH user name for logging into the remote system.
|
|
<DT id="62">sshpubkey FILE<DD>
|
|
Set the public key file to use when connecting to a remote system.
|
|
<DT id="63">sshprivkey FILE<DD>
|
|
Set the private key file to use when connecting to a remote system.
|
|
|
|
|
|
|
|
</DL>
|
|
<A NAME="lbAJ"> </A>
|
|
<H2>SERVER BEHAVIOUR</H2>
|
|
|
|
<DL COMPACT>
|
|
<DT id="64">persistentDir DIRECTORY<DD>
|
|
defines the directory where <B>snmpd</B> and <B>snmptrapd</B> store
|
|
persistent configuration settings.
|
|
<DT id="65"><DD>
|
|
If not specified, the persistent directory defaults to
|
|
/var/lib/snmp
|
|
<DT id="66">noPersistentLoad yes<DD>
|
|
<DT id="67">noPersistentSave yes<DD>
|
|
disable the loading and saving of persistent configuration information.
|
|
<DL COMPACT><DT id="68"><DD>
|
|
<DL COMPACT>
|
|
<DT id="69">Note:<DD>
|
|
This will break SNMPv3 operations (and other behaviour that relies
|
|
on changes persisting across application restart). Use With Care.
|
|
</DL>
|
|
</DL>
|
|
|
|
<DT id="70">tempFilePattern PATTERN<DD>
|
|
defines a filename template for creating temporary files,
|
|
for handling input to and output from external shell commands.
|
|
Used by the <I>mkstemp()</I> and <I>mktemp()</I> functions.
|
|
<DT id="71"><DD>
|
|
If not specified, the default pattern is "/tmp/snmpdXXXXXX".
|
|
<DT id="72">serverRecvBuf INTEGER<DD>
|
|
specifies the desired size of the buffer to be used when receiving
|
|
incoming SNMP requests.
|
|
If the OS hard limit is lower than the <I>serverRecvBuf</I> value,
|
|
then this will be used instead.
|
|
Some platforms may decide to increase the size of the buffer
|
|
actually used for internal housekeeping.
|
|
<DT id="73"><DD>
|
|
This directive will be ignored if the platforms does not support
|
|
<I>setsockopt()</I>.
|
|
<DT id="74">serverSendBuf INTEGER<DD>
|
|
is similar to <I>serverRecvBuf</I>, but applies to the size
|
|
of the buffer used when sending SNMP responses.
|
|
<DT id="75"><DD>
|
|
<DT id="76">sourceFilterType none|whitelist|blacklist<DD>
|
|
specifies whether or not addresses added with <I>sourceFilterAddress</I> are
|
|
whitelisted or blacklisted. The default is none, indicating that incoming
|
|
packets will not be checked agains the filter list.
|
|
<DT id="77"><DD>
|
|
<DT id="78">sourceFilterAddress ADDRESS<DD>
|
|
specifies an address to be added to the source address filter list.
|
|
<I>sourceFilterType</I> configuration determines whether or not addresses are
|
|
whitelisted or blacklisted.
|
|
<DT id="79"><DD>
|
|
</DL>
|
|
<A NAME="lbAK"> </A>
|
|
<H2>MIB HANDLING</H2>
|
|
|
|
<DL COMPACT>
|
|
<DT id="80">mibdirs DIRLIST<DD>
|
|
specifies a list of directories to search for MIB files.
|
|
This operates in the same way as the <B>-M</B> option -
|
|
see <I><A HREF="/cgi-bin/man/man2html?1+snmpcmd">snmpcmd</A>(1)</I> for details.
|
|
Note that this value can be overridden by the
|
|
<B>MIBDIRS</B>
|
|
|
|
environment variable, and the <B>-M</B> option.
|
|
<DT id="81">mibs MIBLIST<DD>
|
|
specifies a list of MIB modules (not files) that should be loaded.
|
|
This operates in the same way as the <B>-m</B> option -
|
|
see <I><A HREF="/cgi-bin/man/man2html?1+snmpcmd">snmpcmd</A>(1)</I> for details.
|
|
Note that this list can be overridden by the
|
|
<B>MIBS</B>
|
|
|
|
environment variable, and the <B>-m</B> option.
|
|
<DT id="82">mibfile FILE<DD>
|
|
specifies a (single) MIB file to load, in addition to the
|
|
list read from the <I>mibs</I> token (or equivalent configuration).
|
|
Note that this value can be overridden by the
|
|
<B>MIBFILES</B>
|
|
|
|
environment variable.
|
|
<DT id="83">showMibErrors (1|yes|true|0|no|false)<DD>
|
|
whether to display MIB parsing errors.
|
|
<DT id="84">commentToEOL (1|yes|true|0|no|false)<DD>
|
|
whether MIB parsing should be strict about comment termination.
|
|
Many MIB writers assume that ASN.1 comments extend to the end of
|
|
the text line, rather than being terminated by the next "--" token.
|
|
This token can be used to accept such (strictly incorrect) MIBs.
|
|
<BR>
|
|
|
|
Note that this directive was previous (mis-)named <I>strictCommentTerm</I>,
|
|
but with the reverse behaviour from that implied by the name.
|
|
This earlier token is still accepted for backwards compatibility.
|
|
<DT id="85">mibAllowUnderline (1|yes|true|0|no|false)<DD>
|
|
whether to allow underline characters in MIB object names and
|
|
enumeration values.
|
|
This token can be used to accept such (strictly incorrect) MIBs.
|
|
<DT id="86">mibWarningLevel INTEGER<DD>
|
|
the minimum warning level of the warnings printed by the MIB parser.
|
|
</DL>
|
|
<A NAME="lbAL"> </A>
|
|
<H2>OUTPUT CONFIGURATION</H2>
|
|
|
|
<DL COMPACT>
|
|
<DT id="87">logTimestamp (1|yes|true|0|no|false)<DD>
|
|
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. This option is only used when file logging is active.
|
|
<DT id="88">printNumericEnums (1|yes|true|0|no|false)<DD>
|
|
Equivalent to
|
|
<B>-Oe</B>.
|
|
|
|
<DT id="89">printNumericOids (1|yes|true|0|no|false)<DD>
|
|
Equivalent to
|
|
<B>-On</B>.
|
|
|
|
<DT id="90">dontBreakdownOids (1|yes|true|0|no|false)<DD>
|
|
Equivalent to
|
|
<B>-Ob</B>.
|
|
|
|
<DT id="91">escapeQuotes (1|yes|true|0|no|false)<DD>
|
|
Equivalent to
|
|
<B>-OE</B>.
|
|
|
|
<DT id="92">quickPrinting (1|yes|true|0|no|false)<DD>
|
|
Equivalent to
|
|
<B>-Oq</B>.
|
|
|
|
<DT id="93">printValueOnly (1|yes|true|0|no|false)<DD>
|
|
Equivalent to
|
|
<B>-Ov</B>.
|
|
|
|
<DT id="94">dontPrintUnits (1|yes|true|0|no|false)<DD>
|
|
Equivalent to
|
|
<B>-OU</B>.
|
|
|
|
<DT id="95">numericTimeticks (1|yes|true|0|no|false)<DD>
|
|
Equivalent to
|
|
<B>-Ot</B>.
|
|
|
|
<DT id="96">printHexText (1|yes|true|0|no|false)<DD>
|
|
Equivalent to
|
|
<B>-OT</B>.
|
|
|
|
<DT id="97">hexOutputLength integer<DD>
|
|
Specifies where to break up the output of hexadecimal strings.
|
|
Set to 0 to disable line breaks. Defaults to 16.
|
|
<DT id="98">suffixPrinting (0|1|2)<DD>
|
|
The value 1 is equivalent to
|
|
<B>-Os</B>
|
|
|
|
and the value 2 is equivalent to
|
|
<B>-OS</B>.
|
|
|
|
<DT id="99">oidOutputFormat (1|2|3|4|5|6)<DD>
|
|
Maps -O options as follow: -Os=1, -OS=2, -Of=3, -On=4, -Ou=5.
|
|
The value 6 has no matching -O option. It suppresses output.
|
|
<DT id="100">extendedIndex (1|yes|true|0|no|false)<DD>
|
|
Equivalent to
|
|
<B>-OX</B>.
|
|
|
|
<DT id="101">noDisplayHint (1|yes|true|0|no|false)<DD>
|
|
Disables the use of DISPLAY-HINT information when parsing indices and
|
|
values to set. Equivalent to
|
|
<B>-Ih</B>.
|
|
|
|
<DT id="102">outputPrecision PRECISION<DD>
|
|
Uses the PRECISION string to allow modification of the value output
|
|
format. See <A HREF="/cgi-bin/man/man2html?1+snmpcmd">snmpcmd</A>(1) for details.
|
|
Equivalent to
|
|
<B>-Op</B>
|
|
|
|
(which takes precedence over the config file).
|
|
</DL>
|
|
<A NAME="lbAM"> </A>
|
|
<H2>FILES</H2>
|
|
|
|
<DL COMPACT>
|
|
<DT id="103">System-wide configuration files:<DD>
|
|
/etc/snmp/snmp.conf
|
|
<BR>
|
|
|
|
/etc/snmp/snmp.local.conf
|
|
<DT id="104">User-specific configuration settings:<DD>
|
|
$HOME/.snmp/snmp.conf
|
|
<BR>
|
|
|
|
$HOME/.snmp/snmp.local.conf
|
|
<DT id="105">Destination host specific files:<DD>
|
|
/etc/snmp/hosts/HOSTNAME.conf
|
|
<BR>
|
|
|
|
$HOME/.snmp/hosts/HOSTNAME.conf
|
|
<P>
|
|
</DL>
|
|
<A NAME="lbAN"> </A>
|
|
<H2>SEE ALSO</H2>
|
|
|
|
<A HREF="/cgi-bin/man/man2html?5+snmp_config">snmp_config</A>(5), <A HREF="/cgi-bin/man/man2html?3+netsnmp_config_api">netsnmp_config_api</A>(3), <A HREF="/cgi-bin/man/man2html?1+snmpcmd">snmpcmd</A>(1).
|
|
|
|
|
|
|
|
<P>
|
|
|
|
<HR>
|
|
<A NAME="index"> </A><H2>Index</H2>
|
|
<DL>
|
|
<DT id="106"><A HREF="#lbAB">NAME</A><DD>
|
|
<DT id="107"><A HREF="#lbAC">DESCRIPTION</A><DD>
|
|
<DT id="108"><A HREF="#lbAD">HOST-SPECIFIC FILES</A><DD>
|
|
<DT id="109"><A HREF="#lbAE">COMMAND-LINE OPTIONS</A><DD>
|
|
<DT id="110"><A HREF="#lbAF">IMPORTANT NOTE</A><DD>
|
|
<DT id="111"><A HREF="#lbAG">CLIENT BEHAVIOUR</A><DD>
|
|
<DT id="112"><A HREF="#lbAH">SNMPv1/SNMPv2c SETTINGS</A><DD>
|
|
<DT id="113"><A HREF="#lbAI">SNMPv3 SETTINGS</A><DD>
|
|
<DT id="114"><A HREF="#lbAJ">SERVER BEHAVIOUR</A><DD>
|
|
<DT id="115"><A HREF="#lbAK">MIB HANDLING</A><DD>
|
|
<DT id="116"><A HREF="#lbAL">OUTPUT CONFIGURATION</A><DD>
|
|
<DT id="117"><A HREF="#lbAM">FILES</A><DD>
|
|
<DT id="118"><A HREF="#lbAN">SEE ALSO</A><DD>
|
|
</DL>
|
|
<HR>
|
|
This document was created by
|
|
<A HREF="/cgi-bin/man/man2html">man2html</A>,
|
|
using the manual pages.<BR>
|
|
Time: 00:06:05 GMT, March 31, 2021
|
|
</BODY>
|
|
</HTML>
|