HP Systems Insight Manager 7.3 Installation and Configuration Guide for Linux

6. Optional: Configure the system to send SNMP traps.
NOTE: These steps might vary slightly, depending on your version of Linux. Refer to your
Linux provider for details if these file paths and file names do not exist on your system.
a. Verify that SNMP is installed by executing the following command:
rpm -qa | grep snmp
If SNMP is not installed, the previous command does not return a components list. Refer
to your Linux provider for information on installing SNMP.
b. Verify if the hp-snmp-agents from the ProLiant Support Pack for Linux is installed by
executing the following command:
rpm -qa | grep hp-snmp-agents
If the hp-snmp-agents is not installed, the previous command does not return a components
list. If it is installed, verify that the hp-snmp-agents daemon are running by executing the
following command:
/etc/init.d/hp-snmp-agents status
c. If the hp-snmp-agents daemons are running, stop them using the following command:
/etc/init.d/hp-snmp-agents stop
NOTE: If the hp-snmp-agents daemon is not installed, omit this step and step g.
d. Stop the SNMP daemon:
/etc/init.d/snmpd stop
e. Edit the snmpd.conf file using any text editor.
For Red Hat Linux, run the following command for opening this file in the vi editor:
vi /etc/snmp/snmpd.conf
For SUSE Linux Enterprise Server 10 SP3 and SUSE 11, run the following command for
opening this file in the vi editor:
vi /etc/snmp/snmpd.conf
i. Remove the comment symbol (#) from the trapsink line, and add the IP address of
the CMS. This system has HP SIM application running:
trapsink IPaddress
where IPaddress is the IP address of the CMS.
NOTE: If snmpd is already installed, type man snmpd and read the manpage to
determine how to configure the trapsink parameter.
NOTE: If the trapsink entry is not available in the snmpd.conf, enter it manually
using the following command:
trapsink CMS IP
where CMS IP is the location you want to send the traps from the managed nodes.
ii. If the following line exists in the read-only community:
community CommunityName IPaddress
Change it to:
rocommunity CommunityName IPaddress
If the line is not present, enter the CMS to the read-only community manually by
adding the line:
rocommunity CommunityName IPaddress
Installing and configuring the software 33