HP-UX Reference (11i v2 04/09) - 1M System Administration Commands N-Z (vol 4)

s
snmpd(1M) snmpd(1M)
It also includes the subagents /usr/sbin/trapdestagt
and /usr/sbin/naaagt
. The trapdestagt
supports the MIB variables used for updating the trapdest entries in snmpd.conf file. For details on the
naaagt subagent please refer to naaagt man page.
The MIB-2 subAgent supports most of the objects in
RFC1213. The EGP group is not supported. The
HP-UX subAgent supports most of the objects in the HP-UX MIB. The IPv6 subagent supports most of
the objects in
RFC2452, RFC2454, RFC2465
and RFC2466.
Deprecated MIBS
The ieee8023Mac
MIB group corresponding to the following OID is no longer supported:
private(4).enterprises(1).hp(11).nm(2).interface(4).ieee8023Mac(1)
This
MIB group is replaced with the "Ether-Like"
MIB group (RFC1398) which corresponds to OID:
mgmt(2).mib-2(1).transmission(10).dot3(7)
SNMP Agent Startup
The SNMP Agent startup mechanism is built upon the System V.4 file system paradigm. The startup
script,
/etc/netmanrc
, which was used in previous releases of the SNMP Agent is no longer used.
Automatic Startup
As installed, the SNMP Master Agent and all subAgents should startup automatically each time the sys-
tem re-boots or any time the system transitions from run level 1 to run level 2. When the system enters
run level 2 the operating system will execute
/sbin/init.d/SnmpMaster
which will startup the
Master Agent. Similarly,
/sbin/init.d/SnmpMib2
, /sbin/init.d/SnmpHpunix and
/sbin/init.d/SnmpIpv6
will startup the MIB2, HP-UX and IPv6 subAgents respectively immedi-
ately after the Master Agent is started. The trapdestagt and naaagt subagents are started by
/sbin/init.d/SnmpTrpDst
and /sbin/init.d/SnmpNaa.
Prior to executing these startup scripts the system will examine all scripts in
/etc/rc.config.d for
environment variables which could potentially influence the startup of the Master Agent and each
subAgent. See the particular startup script or configuration file for details on supported environment
variables. The user should never modify scripts in
/sbin/init.d. Instead the startup behavior
should be controlled by adjusting values in the appropriate configuration script in /etc/rc.config.d
.
The interactions and relationships among these processes and files at invocation time is shown below.
Solaris
/etc/rc2 invokes /etc/rc2.d/S98SnmpMaster
/etc/rc2.d/S98SnmpMaster invokes /sbin/init.d/SnmpMaster
/sbin/init.d/SnmpMaster invokes /usr/sbin/snmpdm
/usr/sbin/snmpdm reads /etc/SnmpAgent.d/snmpd.conf
/etc/rc2 invokes /etc/rc2.d/S97SnmpMib2
/etc/rc2.d/S97SnmpMib2 invokes /sbin/init.d/SnmpMib2
/sbin/init.d/SnmpMib2 invokes /usr/sbin/mib2agt
/etc/rc2 invokes /etc/rc2.d/S97SnmpHpunix
/etc/rc2.d/S97SnmpHpunix invokes /sbin/init.d/SnmpHpunix
/sbin/init.d/SnmpHpunix invokes /usr/sbin/hp_unixagt
/etc/rc2 invokes /etc/rc2.d/S97SnmpTrpDst
/etc/rc2.d/S97SnmpTrpDst invokes /sbin/init.d/SnmpTrpDst
/sbin/init.d/SnmpTrpDst invokes /usr/sbin/trapdestagt
/etc/rc2 invokes /etc/rc2.d/S97Naa
/etc/rc2.d/S97SnmpNaa invokes /sbin/init.d/SnmpNaa
/sbin/init.d/SnmpNaa invokes /usr/sbin/naaagt
HP-UX 10.X, 11i
/sbin/rc invokes /sbin/rc2.d/S560SnmpMaster
/sbin/rc2.d/S560SnmpMaster invokes /sbin/init.d/SnmpMaster
/sbin/init.d/SnmpMaster invokes /usr/sbin/snmpdm
/usr/sbin/snmpdm reads /etc/SnmpAgent.d/snmpd.conf
/sbin/rc invokes /sbin/rc2.d/s565SnmpMib2
/sbin/rc2.d/s565SnmpMib2 invokes /sbin/init.d/SnmpMib2
Section 1M790 Hewlett-Packard Company 4 HP-UX 11i Version 2: September 2004