snmpd(1M) TCP/IP 5.4R3.00 snmpd(1M)
NAME
snmpd - SNMP agent
SYNOPSIS
snmpd [-v][-d] [-p interval] [-P port]
where:
interval is the polling interval in seconds
Port is the UDP port number to listen for incoming requests.
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 specified
by the -P option, or if not specified, the 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:
-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.
-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.
-p interval
Use this option to set the polling interval (in seconds) that
snmpd uses to check for changes in the interfaces state.
Polling is disabled if an interval of 0 is specified, or when
there are no trap destinations configured in /etc/snmpd.conf.
Licensed material--property of copyright holder(s) 1
snmpd(1M) TCP/IP 5.4R3.00 snmpd(1M)
The default polling interval is 60 seconds, however, no traps
are configured by default, so polling is disabled by default.
-P port
This option causes the agent to listen on UDP port for
requests.
FILES
snmpd.conf
Beginning in DG/UX 5.4R3.00 this file replaces the 3 separate
configuration files from previous releases. (snmpd.config,
snmpd.trapcommunities, and snmpd.communities). This file
specifies the communities the agent will recognize, the trap
destinations, and provides values for a user configurable
objects.
/usr/etc/snmp/snmpinfo.dat
A data file used by the agent and other SNMP commands to
translate between object ID's 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
or AViiON hardware and printer management information. The
files have been compressed via compress(1) and must be
uncompressed before they can be used. After uncompressing the
files they are ready for use with your management station
software.
DIAGNOSTICS
If their are errors parsing the command line or 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(4),
snmpd.conf(4), syslogd(1M), syslog(3c), getservbyname(3N),
compress(1).
Licensed material--property of copyright holder(s) 2