is a SNMP agent which binds to a port and awaits requests from
SNMP management software. Upon receiving a request, it processes the
request(s), collects the requested information and/or performs the
requested operation(s) and returns the information to the sender.
Print version information for the agent, and exit.
Dumps the addresses the agent corresponds with to stderr or logfile.
Makes a symbolic dump of the protocol transaction.
Dumps the sent and received UDP packets to stderr or logfile.
Print simpler output for easier automated parsing.
Turn on debugging output
Makes the agent list on the specified list of sockets instead of the
default port, which is port 161. Multiple ports can be separated by
commas. Transports can be specified by prepending the port number
with the transport name ("udp" or "tcp") followed by a colon.
Finally, to bind to a particular interface, you can specify the
address you want it to bind with.
For example, specifying
will make the agent listen on: udp port 161 for any address, tcp port
161 for any address, and udp port 9161 on only the interface
associated with the localhost address. Note that the
flag (below) changes the default transport mapping to use (in the
above example, the default transport mapping is
Listens for AgentX connections on the specified socket
rather than the default '/var/agentx/master'.
The socket can either be a Unix domain socket path,
or the address of a network interface.
If a network address of the form
is given, then the agent will listen on the port specified.
If a network address of the form
is given, then the agent will listen on the default AgentX port, 705.
Don't fork() from the calling shell.
Logs all output from the agent (including stdout/stderr) to
Defaults to a compiled option.
Use syslog for logging.
Save the process ID of the daemon in
Change to this gid after opening port.
Change to this uid after opening port.
Don't open a log file; use stdout/stderr instead.
Append to the log file rather than truncating it.
as a configuration file.
Don't read any configuration files except the one optionally specified by the
Don't require root access to run the demon. Specifically, don't exit
when you can't open files like /dev/kmem, etc...
This option specifies which modules you do (or do not) want to be
initialized when the agent starts up. If the module_list is preceded
with a '-', it will indicate the modules that you do not want to start
up rather than a definitive list of those that you do want to start. To get a list of compiled modules, run the agent with the arguments
(assumes you have debugging support compiled in).
checks for the existence of and parses the following files:
Common configuration for the agent and the application. See snmp.conf(5)
Configures the agent. See snmpd.conf(5) for details. These files are
optional and are only used to configure the extensible portions of the
agent, the values of the community strings, and the optional trap
destinations. By default, the first community string ("public" by
default) is allowed read-only access and the second ("private" by
default) is allowed write access as well. The 3-5th community strings
are read-only as well.
In addition to these two configuration files in /etc/snmp, the
agent will read any files with the names
in a colon separated path specified in the
SNMPCONFPATH environment variable.
The agent will also load all files in this directory as mibs also. It
will not, however, load any file that begins with a '.' or descend into