Support Center > Search Results > SecureKnowledge Details
"clusterXLFailover" in the Gaia built-in SNMP Trap is not sent even though failover occurred Technical Level
Symptoms
  • "clusterXLFailover" in the Gaia built-in SNMP Trap is not sent even though failover occurred.
  • "clusterXL failover Trap" in /etc/snmp/snmpd.conf is deleted after reboot.
    [Expert@HostName]# cat /etc/snmp/snmpd.conf
    ...
    # clusterXL failover Trap
    notificationEvent failoverTrap CHECKPOINT-TRAP-MIB::chkpntClusterXLFailoverTrap -m
    monitor -S -r 5 -e failoverTrap "clusterXL failover happened" != CHECKPOINT-MIB::haClusterXLFailover
    
Cause

The environment variable "CPDIR" in snmp_xlate.c file is not defined when snmp_xlate is loaded (just after reboot).
This causes an error: "Failure getting CPDIR environment variable", and therefore snmp_xlate not writing the necessary data to snmpd.conf file.


Solution
Note: To view this solution you need to Sign In .