> Source: [sk166100](https://support.checkpoint.com/results/sk/sk166100)

# sk166100 - "clusterXLFailover" in the Gaia built-in SNMP Trap is not sent even though failover occurred

| Property | Value |
|----------|-------|
| Solution ID | sk166100 |
| Date Created | 2020-04-02 |
| Last Modified | 2023-01-18 |
| Technical Level | General |
| Products | Security Gateway |
| Versions | R82.10, R82, R81.20 |
| OS | Gaia |

## 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

This problem was fixed. The fix is included starting from:

* [Check Point R81](https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&solutionid=sk166715)
* [Jumbo Hotfix Accumulator for R80.40](https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&solutionid=sk165456) from Take 48
* [Jumbo Hotfix Accumulator for R80.30](https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&solutionid=sk153152) from Take 210
* [Jumbo Hotfix Accumulator for R80.20](https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&solutionid=sk137592) from Take 160

If you choose not to upgrade, Check Point can supply a **Hotfix**.

[Contact Check Point Support](https://www.checkpoint.com/support-services/contact-support/) to get a Hotfix for this issue.  
A Support Engineer will make sure the Hotfix is compatible with your environment before providing the Hotfix.  
For faster resolution and verification, please collect [CPinfo files](http://supportcontent.checkpoint.com/solutions?id=sk92739) from the Security Management Server and Security Gateways involved in the case.

---

# Agent Instructions

This content is from the Check Point Support Center (https://support.checkpoint.com), the official knowledge base for Check Point cybersecurity products.

## Navigating This Knowledge Base

- **Complete index**: [llms.txt](https://support.checkpoint.com/llms.txt)
- **All SK articles**: [SecureKnowledge Sitemap](https://support.checkpoint.com/sitemaps/secureknowledge-sitemap-index.xml)
- **SK article URL pattern**: `https://support.checkpoint.com/results/sk/{skId}`
- **Markdown responses**: AI bot User-Agents automatically receive `text/markdown` content
