An event is an occurrence of something significant happening in the cluster. Notification of events is an important tool because it allows the administrator to be informed about and to monitor the health of the cluster.
EGO includes an SNMP plug-in: eventplugin_snmp. This plug-in is integrated with SNMP, which uses SNMP traps as the notification mechanism. The file is located under $EGO_LIBDIR in the file eventplugin_snmp.dll. On a Linux system, the file has the extension .so.
The default configuration of this plug-in is in ego.conf under the section EGO event configuration. It is set as follows:
(where host is the host that the SNMP trap is sent to.)
By default, all SNMP traps are sent to port 162. To change the destination port, an optional string "TRAPPORT=port_number" may be added to the EGO_EVENT_PLUGIN configuration string above.
The definition of the SNMP trap sent by this plug-in is defined in the file EGO-SNMP-MIB.txt found under EGO_CONFDIR/mibs.
You can replace the default SNMP with another SNMP. We recommend SNMP Trap Watcher by BTT Software.