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

# sk123316 - SNMP Traps are not being generated

| Property | Value |
|----------|-------|
| Solution ID | sk123316 |
| Date Created | 2018-03-05 |
| Last Modified | 2018-03-06 |
| Technical Level | General |
| Products | Security Gateway, Security Management Server |
| Versions | R82.10, R82, R81.20, R82.10, R82, R81.20, R82.20 |
| OS | Gaia |

## Symptoms

- * SNMP trap is restarting the snmpmonitor process every time it is triggered.
* The process PID is changing with the same frequency as the custom-trap is sent. No process core-dumps are generated.
* snmpmonitor process debug (as per [sk66586](https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&solutionid=sk66586)) shows:

  ```
  
  /usr/sbin/snmpmonitor: symbol lookup error: /usr/lib/libnetsnmp.so.10: undefined symbol: libdb_init	<� ---------- ERROR
  ```

  This is also matching the frequency when the trap is triggered.

## Cause

The */var/lib/net-snmp/snmpapp.conf* file, which is used to store information about the SNMP trap needing to be sent, is corrupted.

## Solution

<br />

1. Connect to Expert mode to the relevant device failing to send the SNMP trap.  

2. Navigate to the */var/lib/net-snmp* folder:  
   ***# cd /var/lib/net-snmp***
3. Delete */var/lib/net-snmp/snmpapp.conf* file:  
   ***# rm -vf /var/lib/net-snmp/snmpapp.conf***
4. Restart the SNMP agent in CLISH:  
   ***# set snmp agent off***   
   ***# set snmp agent on***
5. Save configurations:  
   ***# save config***

<br />

<br />

The */etc/lib/net-snmp/snmpapp.conf* file will be regenerated automatically.

---

# 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
