Installation guide
Chapter 10. SNMP Configuration with the Red Hat High
Availability Add-On
As of the Red Hat Enterprise Linux 6.1 release and later, the Red Hat High Availability Add-On
provides support for SNMP traps. This chapter describes how to configure your system for SNMP
followed by a summary of the traps that the Red Hat High Availability Add-On emits for specific cluster
events.
10.1. SNMP and t he Red Hat High Availabilit y Add-On
The Red Hat High Availability Add-On SNMP subagent is fo g ho rn, which emits the SNMP traps. The
fo g ho rn subagent talks to the snmpd daemon by means of the AgentX Protocol. The fo g ho rn
subagent only creates SNMP traps; it does not support other SNMP operations such as g et or set.
There are currently no co nfi g options for the fog ho rn subagent. It cannot be configured to use a
specific socket; only the default AgentX socket is currently supported.
10.2. Configuring SNMP wit h t he Red Hat High Availabilit y Add-On
To configure SNMP with the Red Hat High Availability Add-On, perform the following steps on each
node in the cluster to ensure that the necessary services are enabled and running.
1. To use SNMP traps with the Red Hat High Availability Add-On, the snmpd service is required
and acts as the master agent. Since the fo g ho rn service is the subagent and uses the
AgentX protocol, you must add the following line to the /etc/snmp/snmpd . co nf file to
enable AgentX support:
master agentx
2. To specify the host where the SNMP trap notifications should be sent, add the following line
to the to the /etc/snmp/snmpd. co nf file:
trap2sink host
For more information on notification handling, see the snmpd. co nf man page.
3. Make sure that the snmpd daemon is enabled and running by executing the following
commands:
# chkco nfi g snmpd o n
# servi ce snmpd start
4. If the messag ebus daemon is not already enabled and running, execute the following
commands:
# chkco nfi g messag ebus o n
# servi ce messag ebus start
5. Make sure that the fo g ho rn daemon is enabled and running by executing the following
commands:
Chapt er 1 0 . SNMP Configurat ion wit h t he Red Hat High Availabilit y Add- O n
157