| Home »
Categories »
Multiple Categories |
SNMP traps are now showing UNKNOWN for the sender IP |
|
Article Number: 886 | Rating: 1/5 from 2 votes | Last Updated by rspielman on Tue, Jan 19, 2021 at 10:15 AM
|
Issue:
SNMP traps that had previously worked fine are now showing UNKNOWN for the sender IP.
Solution:
There is a bug (https://sourceforge.net/p/snmptt/bugs/46/) in version 1.4.2 of the snmptt daemon that your server is running which is causing it to not forward the traps to Nagios.
If this is the cause of your issue, here is how to fix it.
Edit this file on your server: /usr/sbin/snmptt change line 3291 from
if ($tempvar[0] =~ /<UNKNOWN>/) {
to
if ($tempvar[0] =~ /UNKNOWN/) {
Save it and restart the snmptt daemon.
After this, the traps should be received and display the IP address.
Another possible solution is to replace $r with $aA - Trap agent IP address.
Special Offer For Knowledgebase Visitors! Get a huge discount on Nagios Log Server by clicking below.
Did you know? Nagios provides complete monitoring of: Windows, Linux, UNIX, Servers, Websites, SNMP, DHCP, DNS, Email, Storage, Files, Apache, IIS, EC2, and more!
|
Posted by: rspielman on Tue, Jan 19, 2021 at 9:51 AM. This article has been viewed 6599 times. Filed Under: SNMP Traps, Troubleshooting |
|
Have a question? Try our Forums! | Give Feedback |
1 (2)
Article Rating (2 Votes)
Rate this article
|
| |
|
Attachments
There are no attachments for this article.
| Related Articles 
SNMP Trap - snmptt Service
Viewed 50583 times since Tue, Mar 24, 2015
VMWare checks timing out or slow
Viewed 5795 times since Fri, Feb 11, 2022
SNMP Trap - Firewall Rules
Viewed 30351 times since Tue, Mar 24, 2015
SNMP Trap - How To Send A Test Trap
Viewed 248138 times since Fri, Apr 1, 2016
SSL Certificate does not validate properly
Viewed 7731 times since Wed, Jan 20, 2021
SNMP Trap - snmptrapd Service
Viewed 80138 times since Tue, Mar 24, 2015
Nagios XI - SNMP Trap Hardening
Viewed 15839 times since Tue, Nov 6, 2018
|
|