68
68
agent and then exit.
70
70
.B -I \fI[-]INITLIST
71
This option specifies which modules you do (or do not) want to be
72
initialized when the agent starts up. If the comma-separated
71
Specifies which modules should (or should not) be initialized
72
when the agent starts up. If the comma-separated
75
with a '-', it is the list of modules that you do
77
want to be started. Otherwise,
79
is the list of modules to be started.
75
with a '-', it is the list of modules that should \fInot\fR be started.
76
Otherwise this is the list of the \fIonly\fR modules that should be started.
81
78
To get a list of compiled modules, run the agent with the arguments
83
(assumes you have debugging support compiled in).
85
.BR -l "" " " "[\fIFILE" "" "]"
86
Log all output from the agent (including stdout and stderr) to
88
If no filename is given, log to a default file set at compile time
89
(normally /var/log/snmpd.log).
91
This option is being deprecated, and '-Lf FILE' should be used instead.
80
(assuming debugging support has been compiled in).
94
83
Specify where logging output should be directed (standard error or output,
95
84
to a file or via syslog). See LOGGING OPTIONS in snmpcmd(5) for details.
97
This option deprecates the
87
Specifies a colon separated list of MIB modules to load for this
88
application. This overrides the environment variable MIBS.
89
See \fIsnmpcmd(1)\fR for details.
92
Specifies a colon separated list of directories to search for MIBs.
93
This overrides the environment variable MIBDIRS.
94
See \fIsnmpcmd(1)\fR for details.
97
Set an alternative application name (which will affect the
98
configuration files loaded).
99
By default this will be \fIsnmpd\fR, regardless of the name
100
of the actual binary.
105
103
Save the process ID of the daemon in
108
This option deprecates the
113
Save the process ID of the daemon in
115
This option is being deprecated, and '-p FILE' should be used instead.
118
107
Print simpler output for easier automated parsing.
122
111
if files only accessible to root (such as /dev/kmem etc.) cannot be
126
Use syslog for logging.
128
This option is being deprecated, and '-Ls FACILITY' should be used instead.
131
Specifies the syslog facility to use when logging to syslog.
133
This option is being deprecated, and '-Ls FACILITY' should be used instead.
136
115
Change to the user ID
172
151
for the full list of tokens.
175
152
.SH LISTENING ADDRESSES
178
listens for incoming SNMP requests only on UDP port 161. However, it
179
is possible to modify this behaviour by specifying one or more
180
listening addresses as arguments to
155
listens for incoming SNMP requests on UDP port 161 on all IPv4 interfaces.
156
However, it is possible to modify this behaviour by specifying one or more
157
listening addresses as arguments to \fBsnmpd\fR.
182
158
A listening address takes the form:
184
160
[<transport-specifier>:]<transport-address>
228
204
listen on UDP port 161, but only on the loopback interface. This
231
being queried remotely (which is a bit pointless). The ":161" is
232
redundant here since that is the default SNMP port in any case.
207
being queried remotely. The port specification ":161" is
208
not strictly necessary since that is the default SNMP port.
235
211
listen on TCP port 1161 on all IPv4 interfaces.
238
214
listen on IPX port 40000 on all IPX interfaces.
240
216
.IR "unix:/tmp/local-agent"
241
listen on the Unix domain socket
242
.IR /tmp/local-agent .
217
listen on the Unix domain socket \fI/tmp/local-agent\fR.
244
219
.IR "/tmp/local-agent"
245
identical to the previous specification, since the Unix domain is the
246
default transport iff the first character of the <transport-address>
220
is identical to the previous specification, since the Unix domain is
221
assumed if the first character of the <transport-address> is '/'.
250
224
listen on the AAL5 permanent virtual circuit with VPI=0 and VCI=161