snmpd(1M)
Requires Optional LAN/X.25 Software
NAME
snmpd − daemon that responds to SNMP requests
SYNOPSIS
snmpd [−C contact] [−L location] [−a] [−c] [−f logfile] [−l] [−t] [−x]
DESCRIPTION
snmpd is the agent for the HP OpenView Network Node Manager. The manager sends requests for Management Information Base (MIB) values to the agent using the Simple Network Management Protocol (SNMP). The agent replies with the information requested.
The MIB is a conceptual database of values on the agent. Refer to variables(5) for a list of HP-UX MIB values that the snmpd supports. The agent supports all variables found in RFC 1158 except the EGP group.
Only the super-user can start snmpd, and only one snmpd can execute at a time.
When invoked, snmpd reads /etc/snmpd.conf to configure itself using the entries found in that file (see snmpd.conf(4)).
Options
snmpd recognizes the following options:
−C contact Specify the contact person responsible for the network management agent. This option overrides the contact person specified in /etc/snmpd.conf.
−L location Specify the location of the agent. This option overrides the location specified in /etc/snmpd.conf.
−c Reconfigure snmpd (i.e., force snmpd to re-read etc/snmpd.conf).
−a Suppress sending authenticationFailure traps.
−f logfile Use logfile for logging and tracing rather than the default logfile, /usr/adm/snmpd.log.
−l Turn on logging.
−t Turn on tracing.
−x Hexdump each packet received by the snmpd and each packet sent by the snmpd.
Traps
The agent also sends information to a manager without an explicit request from the manager. Such an operation is called a "trap." snmpd sends the following SNMP traps:
coldStart Sends a coldStart trap when snmpd is invoked.
linkDown Sends a linkDown trap when an interface goes down.
linkUp Sends a linkUp trap when an interface comes up.
authenticationFailure
Sends an authenticationFailure trap when an SNMP request is sent to snmpd with a community name that does not match the community names specified in /etc/snmpd.conf.
Each SNMP request is accompanied by a community name, which is a password that enables SNMP access to MIB values on an agent. A manager may request to read a MIB value by issuing an SNMP GetRequest, or a manager may request to alter a MIB value by issuing an SNMP SetRequest.
Defaults
By default, the agent (/etc/snmpd) does not allow managers to alter MIB values (i.e., it returns errors for SNMP SetRequests). To configure the agent to respond to SNMP SetRequests, add a set-community-name to /etc/snmpd.conf.
By default, the agent responds to all SNMP GetRequests, regardless of community name used in the request. To configure the agent to respond to a specific community name, add a get-community-name to /etc/snmpd.conf.
By default, SNMP traps are not sent to any destination. To configure the agent to send traps to one or more specific destinations, add the trap destinations to /etc/snmpd.conf.
By default, the agent’s location is a blank string. To configure the agent’s location, add the location to /etc/snmpd.conf, or use the −L option.
By default, the agent’s contact is a blank string. To configure the agent’s contact, add the contact to /etc/snmpd.conf, or use the −C option.
EXTERNAL INFLUENCES
Environment Variables
LANG determines the language in which messages appear. If LANG is not specified or is set to the empty string, a default of "C" (see lang(5)) is used instead of LANG. If any internationalization variable contains an invalid setting, snmpd behaves as if all internationalization variables are set to "C." See environ(5).
International Code Set Support
Supports single-byte character code sets.
AUTHOR
snmpd was developed by HP and Massachusetts Institute of Technology.
FILES
/etc/snmpd.conf
/usr/adm/snmpd.log
SEE ALSO
chksnmpd(1), snmpd.conf(4), variables(5).
RFC 1155, RFC 1156, RFC 1157, RFC 1158, RFC 1109.
Hewlett-Packard Company — HP-UX Release 8.05: June 1991