HP XC System Software Installation Guide Version 4.0

This enables Nagios to generate alerts for all enclosure traps posted with a priority of WARNING
or greater.
1. Configure the enclosures to send their SNMP traps to the management server IP alias:
# manage_enclosure addtrap
enc2n-enc09USE6281BJX: Added SNMP trap receiver destination IP_address
2. Verify that the SNMP trap destination has been set correctly on the enclosures:
# manage_enclosure listtrap
enc2n-enc09USE6281BJX:
IP_address
7.6 Configuring SNMP Trap Destination for Modular Cooling System
Devices
Perform this task only if the hardware configuration contains Modular Cooling System (MCS)
devices. Omit this task if MCS devices are not in use.
If the hardware configuration contains MCS devices, HP recommends that you configure the
MCS devices to send their SNMP traps to the management server IP alias. After doing so, all
SNMP traps are processed by the snmptrapd service and are subsequently logged to syslog
by the snmptt service. The syslog-ng service logs all traps to the /hptc_cluster/adm/
log/consolidated.log file and the /hptc_cluster/adm/logs/snmptraps.log file.
This enables Nagios to generate alerts for all MCS traps posted with a priority of WARNING or
greater.
1. Use one of the following methods to determine the management server IP alias:
If Nagios is configured for improved availability, the management server IP alias is the
nagios_master_alias as defined in the /etc/hosts file:
# grep nagios_master /etc/hosts
IP_address nagios_master_alias
Otherwise, the management server IP alias is the internal IP address of the head node:
# grep nh /etc/hosts
IP_address n16 nh hplsadm n16.localhost.localdomain
2. Configure the MCS devices to send their SNMP traps to the management server IP alias;
use the IP alias obtained in the previous step:
# mcs_webtool -H MCS_IP_address -p MCS_Admin_password -i -a \
IP_address -e IP_address
Adding trap receiver 1: IP_address
Enabling trap receiver 1: IP_address
Trap Receiver Status for MCS at MCS_IP_address:
Authentication Traps: Disable
Trap Receiver 1: IP_address Enable
Trap Receiver 2: 0.0.0.0 Disable
Trap Receiver 3: 0.0.0.0 Disable
Trap Receiver 4: 0.0.0.0 Disable
3. Verify that the SNMP trap destination has been set properly on the MCS devices:
# mcs_webtool -H MCS_IP_address -p compaq -i
Trap Receiver Status for MCS at MCS_IP_address:
Authentication Traps: Disable
Trap Receiver 1: IP_address Enable
Trap Receiver 2: 0.0.0.0 Disable
Trap Receiver 3: 0.0.0.0 Disable
Trap Receiver 4: 0.0.0.0 Disable
7.6 Configuring SNMP Trap Destination for Modular Cooling System Devices 127