Troubleshoot Delays in SNMP Trap Sender
Troubleshoot Delays in SNMP Trap Sender
I'm finding that traps are arriving at my trap receiver 8 hours after the alert occurs in Nagios. I don't suspect problems at the receiver because other sources are working fine. Can you get me started in how to look for the trouble?
Re: Troubleshoot Delays in SNMP Trap Sender
Just making sure, this is the trap sender component forwarding traps to some 3rd party system, right? If so, see below.
From my notes:
To enable logging of traps sent, edit the following php file ad add -Lf /usr/local/nagios/var/snmptrap.log to snmptrapsenderfunction.
/usr/local/nagiosxi/html/includes/components/snmptrapsender/snmptrapsender.inc.php
From my notes:
To enable logging of traps sent, edit the following php file ad add -Lf /usr/local/nagios/var/snmptrap.log to snmptrapsenderfunction.
/usr/local/nagiosxi/html/includes/components/snmptrapsender/snmptrapsender.inc.php
Re: Troubleshoot Delays in SNMP Trap Sender
Thanks gormank for the tip.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Troubleshoot Delays in SNMP Trap Sender
One thing is certain; the packets aren't wandering around for 8 hours. They will die after a few milliseconds. I'd look for a time or timezone issue.
Re: Troubleshoot Delays in SNMP Trap Sender
Thanks gormank for the second tip. 
Be sure to check out our Knowledgebase for helpful articles and solutions!