Page 1 of 1

"OK: TRAP RESET" with no source traps

Posted: Fri Oct 23, 2015 10:35 am
by vmesquita
Hello,

We have configured a firewall to send snmp traps. The traps are being processed correctly, but it keeps being reset by Nagios with "OK: TRAP RESET" status although it didn't receive any corresponding source trap. We would like the service to be kept in the CRITICAL or WARNING states until it receives a trap to go back to OK (which I imagine would be the expected behavior for a passive check). How can we fix this? We are using Nagios XI 2014R2.7.

Re: "OK: TRAP RESET" with no source traps

Posted: Fri Oct 23, 2015 12:14 pm
by tgriep
Do you have Active Checks enabled for that service check?
Every time it runs, it will clear out the alert so if you edit that check and disable Active Checks, you will get the functionally you want.

Re: "OK: TRAP RESET" with no source traps

Posted: Fri Oct 23, 2015 2:16 pm
by vmesquita
It was set to "skip", I changed to off but still the same result.

Re: "OK: TRAP RESET" with no source traps

Posted: Sun Oct 25, 2015 8:48 pm
by Box293
I think you want to turn off freshness checking.

https://assets.nagios.com/downloads/nag ... hness.html

The "TRAP RESET" is defined in template the service uses (I'm pretty sure). Turning off freshness means it won't execute that command when the freshness threshold is passed.