Show Table of Contents
11.3. Forwarding SNMP traps
It is possible to forward SNMP traps to a machine that is not part of the cluster where you can use the
snmptrapd daemon on the external machine and customize how to respond to the notifications.
Perform the following steps to forward SNMP traps in a cluster to a machine that is not one of the cluster nodes:
- For each node in the cluster, follow the procedure described in Section 11.2, “Configuring SNMP with the Red Hat High Availability Add-On”, setting the
trap2sink hostentry in the/etc/snmp/snmpd.conffile to specify the external host that will be running thesnmptrapddaemon. - On the external host that will receive the traps, edit the
/etc/snmp/snmptrapd.confconfiguration file to specify your community strings. For example, you can use the following entry to allow thesnmptrapddaemon to process notifications using thepubliccommunity string.authCommunity log,execute,net public
- On the external host that will receive the traps, make sure that the
snmptrapddaemon is enabled and running by executing the following commands:#
chkconfig snmptrapd on#service snmptrapd start
For further information on processing SNMP notifications, see the
snmptrapd.conf man page.

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.