hpsnmpd(1M) hpsnmpd(1M)
hpsnmpd - SNMP HP-UX MIB subagent
/usr/etc/hpsnmpd [ -d debug ] [ -l loglevel ] [ -u namelist ]
hpsnmpd is a daemon for the Simple Network Management Protocol (SNMP) as
specified in Internet RFC 1157, and supports a subset of the HP-UX
enterprise MIB. The daemon, called the SNMP agent, can be configured to
run from the network startup script at boot time by the command chkconfig
snmpd on or started from the command line. You must be superuser (root)
to run hpsnmpd. Hpsnmpd acts as a subagent to the SGI master agent snmpd
or the Peer networks encapsulator peer_encaps. The hpsnmpd subagent must
be listed in the file /etc/snmpd.remote.conf for the snmpd daemon to
forward to it, and in /etc/peer_encaps_config for the Peer networks
encapsulator to forward to it.
hpsnmpd checks that each incoming request is authorized. The file
/etc/snmpd.auth is used to specify sets of hosts and SNMP communities
that have either get or set privileges. Entries in the file have the
form
accept hostname:community/operation ...
reject hostname:community/operation ...
where the wildcard character * can stand for all hosts or all
communities. A comma can be used to list multiple hosts or communities.
For example, suppose hpsnmpd were to accept get and set requests from the
host iris1 or iris2 with the community sgi and accept get requests from
any host with the community public. The /etc/snmpd.auth entries would be
accept iris1:sgi
accept iris2:sgi
accept *:public/get
or equivalently, on one line
accept iris1,iris2:sgi *:public/get
Options [Toc] [Back]
-d debug Set debugging modes of hpsnmpd. Possible values for
debug are dump, which will hex dump incoming and outgoing
packets; input, which will display decoded incoming
packets; output, which will display decoded outgoing
packets; and foreground, which makes the daemon run in
the foreground and log messages to the standard output.
The dump, input, and output flags all imply the
foreground flag.
Page 1
hpsnmpd(1M) hpsnmpd(1M)
-l loglevel Control the level of messages produced by hpsnmpd. The
levels are those used by syslog(3B). The value of
loglevel is the text string for that level. The default
loglevel is error. To see warnings, the loglevel would
be warning. The acceptable values for loglevel can be
found in /usr/include/sys/syslog.h.
-u namelist Specify a system namelist. The default is /unix.
/usr/etc/hpsnmpd
/etc/snmpd.auth
/etc/snmpd.data
/etc/snmpd.trap.conf
/etc/snmpd.remote.conf
/etc/snmpd.start
snmpd(1M)
RFC 1157, RFC 1213
PPPPaaaaggggeeee 2222 [ Back ]
|