Setting up Managed Systems in ICE-Linux without the ProLiant Service Pack

7
The location of the SNMP master agent configuration file might differ for other GNU/Linux operating
systems, Solaris™, FreeBSD®, or other potential GNU-like or UNIX-like operating systems.
There should be a minimal SNMP service configuration within the snmpd.conf file. If the file does
not exist, or if it is empty, you may need:
To copy an example snmpd.conf file from the /usr/share/doc/net-snmp directory,
To construct one using snmpcmd, or
To create one manually.
See the documentation for your operating system for additional information. The snmpd.conf(5)
manpage should be particularly helpful.
To configure the SNMP master agent to service the required OIDs, open the snmpd.conf file in a
text editor and insert lines such as the following:
################################################################
#
# HP ICELX authorization
#
trapsink 192.0.2.100
rocommunity public 192.0.2.100
rocommunity 127.0.0.1
################################################################
#
# HP ICELX Overrides
#
pass .1.3.6.1.4.1.232.9.2.2.10.0 /etc/snmp/CntlrAgentLocation.sh
pass .1.3.6.1.4.1.232.2.2.4.2.0 /etc/snmp/ProductName.sh
pass .1.3.6.1.4.1.232.11.2.10.1.0 /etc/snmp/MibStatusArray.sh
pass .1.3.6.1.4.1.232.11.2.10.3.0 /etc/snmp/HostGUID.sh
pass .1.3.6.1.4.1.232.11.2.2.1.0 /etc/snmp/OsName.sh
The trapsink directive instructs the agent to send all preemptive notification messages to the IP
address of the CMS. In this example, the IP address of the HP SIM CMS is 192.0.2.100; it is
highlighted to help you locate it. Be sure to replace this value with the IP address of your HP SIM
CMS.
The rocommunity directive instructs the agent to permit the CMS to query the agent if it uses the
community string public.
The second rocommunity directive is usually required to enable the master, or subagents, to query
itself (themselves) when composing responses of a compound nature.
The pass directive is one method for extending the SNMP master agent with one of the simplest of
subagents, an external executable script.
Note: Newer versions of net-snmp (that is, after version 5.1.3) include an even simpler-to-
use directive called override, which performs the same functions. It is not generally
available with all versions and releases of the net-snmp package for GNU/Linux operating
systems. Therefore, to support the broadest possible range of GNU/Linux operating systems
with a net-snmp package, this document focuses on using the pass directive.