snmpd(1M) TCP/IP R4.11 snmpd(1M)
NAME
snmpd - SNMP agent
SYNOPSIS
snmpd [-v][-d] [-apall] [-aperror] [-aptrace] [-apwarn]
DESCRIPTION
The SNMP agent is implemented as the snmpd command, which is a daemon
process that services requests from an SNMP network management
station (NMS). The agent may be included in the list of daemons in
the /etc/tcpip.params file to be started and stopped automatically by
the rc scripts during changes of system run levels. You can start,
stop, and configure the agent through sysadm.
When snmpd is started it disassociates itself from the controlling
terminal, reads the configuration file, and begins servicing network
requests. The agent listens for requests on the UDP port number
returned by getservbyname(3N) for "snmp" which defaults to 161.
The agent authenticates requests by verifying that the community
string in the request matches one in the /etc/snmpd.conf file and
that the level of access matches the type of request. After
authentication, the agent accesses or modifies the requested
information and sends a reply to the originator.
When the agent is restarted, an interface changes state, or a request
fails authentication, snmpd sends traps to all the hosts specified in
the trap records in the /etc/snmpd.conf file.
Options are:
-apall Use the -apall option to force snmpd to remain attached to the
controlling terminal and to print additional information about
the packets received and transmitted. Use this option to see
the information exchange between the agent and a management
station.
-aperror
Use the -aperror option to force snmpd to remain attached to
the controlling terminal and to print APERROR messages
generated by the agent.
-aptrace
Use the -aptrace option to force snmpd to remain attached to
the controlling terminal and to print APTRACE messages used to
trace a packet through the agent.
-apwarn
Use the -apwarn option to force snmpd to remain attached to
the controlling terminal and to print APWARN messages
generated by the agent.
-v Use the -v option to force snmpd to remain attached to the
controlling terminal and to print additional information about
the packets received and transmitted. Use this option to see
the information exchange between the agent and a management
station. NOTE - This option will soon be obsolete and ignored
if specified. Use option "-apall" instead.
-d Use the -d option to force snmpd to remain attached to the
controlling terminal and to print diagnostic messages on
stderr. This option is similar to the -v option, however, it
does not print information about packets received and
transmitted. Use this option to see any potential error
messages without the verbosity of packet exchanges. NOTE -
This option will soon be obsolete and ignored if specified.
Use options "-aperror" and "-apwarn" instead.
snmpd.conf
This file specifies the communities and trap destinations the
agent will recognize and provides values for a user
configurable objects.
/etc/snmpinfo.dat
A data file used by the agent and other SNMP commands to
translate between object IDs and symbolic names.
/usr/etc/snmp/*.mib.Z
The /usr/etc/snmp directory contains several files in the
format <name>.mib.Z.. These files are copies of the MIBs the
agent supports -- most are Internet standard RFCs, however,
there are some enterprise MIBs. The agent implements the HP-
UNIX MIB for the filesystem and process table information.
The DGC MIB contains management information specific to DG/UX
system hardware and printer management information. The files
have been compressed via compress(1) and must be uncompressed
before before they can be used. After uncompressing the files
they are ready for use with your management station software.
DIAGNOSTICS
If there are errors parsing the command line, or if the -v or -d
options are specified, output is sent to stdout and stderr;
otherwise, all output is sent to syslogd. Fatal or critical messages
are logged at syslog level LOG_WARNING; other messages are logged at
level LOG_INFO.
SEE ALSO
snmpgetmany(1M), snmpgetnext(1M), snmpgetone(1M), snmpsetany(1M),
snmpgettab(1M), snmptraprecv(1M), snmptrapsend(1M), snmpdfiles(4M),
snmpd.conf(4M), info.dat(4M) syslogd(1M), syslog(3c),
getservbyname(3N), compress(1M).
Licensed material--property of copyright holder(s)