snmpd(8n)snmpd(8n)Namesnmpd - Simple Network Management Protocol (SNMP) Agent for ULTRIX
gateways and hosts
Syntax
/etc/snmpd [ -d debuglevel logfile ]
Description
The SNMP Agent, performs SNMP operations on an ULTRIX gateway or host.
The daemon, which is started up by an entry in the file, sits in the
background and listens on SNMP port 161. When the daemon receives an
SNMP packet from a Network Management Station (NMS), the daemon per‐
forms SNMP operations on the packet and returns a valid response to the
NMS.
The daemon extracts much of its information from kernel memory. Static
variables whose values are not available in the kernel take values from
the SNMP configuration file,
SNMP Trap Support
The cold start and authentication failure trap types are supported by
The cold start trap type is generated by when is restarted. The
authentication failure trap type is generated when an attempt at using
a community fails. The attempt fails when an unauthorized client tries
to use or the community is used in a way that the community type does
not allow.
The daemon sends traps to all communities specified in the configura‐
tion file with a community type
The default is for the daemon to generate authentication failure traps.
However, if the following clause is specified somewhere in the file,
authentication failure traps are not generated:
no_authen_traps
SNMP Sets
When the daemon receives a set-request packet, it processes the vari‐
ables in the packet and verifies that they are valid read-write vari‐
ables. While performing this verification, the daemon constructs a
linked list of the set requests. After it has completed the verifica‐
tion, it performs the actual set operations on the variables, as if
they were being performed simultaneously. If any actual set operation
fails, all of the previous set variables from the set-request packet
are restored to their old values.
SNMP Supported Variables
For a complete listing of the SNMP Management Information Base (MIB)
variables that are supported, see the Guide to Networking.
Options
By default, the daemon uses the command to record its error messages.
However, you can obtain certain debugging and trace information by
specifying the flag, the appropriate debug level, and a log file for
the output on the command line.
-d debuglevel logfile
Outputs debugging and trace information.
You can specify any one of the following debug levels with the flag:
1 Print the version number, start time, and exit time of Also print
out when an SNMP packet is received, the address of the sender,
and the packet size in bytes.
2 Print out what the daemon has read from the file.
3 Dump the SNMP packet that the daemon has just received and is
about to process. Also print out the route and interface address
that the daemon is currently looking up. This debug level also
dumps the SNMP packet that the server is sending back in response
to a received SNMP message.
4 Dump the variable tree. Also print out the static bootstrap array
of tree information.
The output for a debug level includes the information for all levels
including and below the level that you specify. For example, if you
specify a debug level of 3, your output includes debug information for
levels 3, 2, and 1.
If no debug levels are set, detaches itself from the controlling termi‐
nal and executes in the background.
Restrictions
Not all of the MIB variables are supported.
Only the variable is settable.
Files
SNMP configuration file
See Alsosnmpext(3n), snmpd.conf(5n), snmpsetup(8n)
RFC 1066—Management Information Base for Network Management of TCP/IP-
based Internets
RFC 1067—A Simple Network Management Protocol
Guide to Networking
snmpd(8n)