HP Systems Insight Manager 7.3 Installation and Configuration Guide for Linux

2. Optional: Configure the system to send SNMP traps.
NOTE: These steps might vary slightly, depending on your version of Linux. See your Linux
provider for details if these file paths and file names do not exist on your system.
a. Verify that SNMP is installed:
rpm -qa | grep snmp
If it is not installed, see your Linux provider for information on installing SNMP.
b. Stop the hp-snmp-agents daemons on the platform where you are installing HP SIM 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 F.
c. Stop the SNMP daemon:
/etc/init.d/snmpd stop
d. 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, 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:
trapsink IPaddress
where IPaddress is the IP address of the CMS.
ii. Add the CMS to the read only community by adding the line:
rocommunity CommunityName IPaddress
where CommunityName is the SNMP community string used by the CMS and
IPaddress is the IP address of the CMS.
iii. Save the changes to the file. To save and close this file using the vi editor, press the
esc key, enter :wq!, and press the Enter key.
e. Start the SNMP daemon:
/etc/init.d/snmpd start
f. Start the hp-snmp-agents daemon if it is installed on your system:
/etc/init.d/hp-snmp-agents start
42 Configuring HP SIM