Page 1 of 1

Nagios Passive check alert clearing

Posted: Tue Jun 10, 2014 3:24 pm
by VarunJK
Hi,
I am receiving passive alerts when ever an event occurs. But the state of the alert remains the same (alert status - CRITICAL and alert time- when the event occured) until there is a new passive alert occurs for the same service. I can clear the alert by doing a force recheck option manually.

Is there a way to clear the passive service check alert automatically ? Is there any config which can clear the passive check by doing a recheck after some specified time interval? Please help!!!!

Re: Nagios Passive check alert clearing

Posted: Tue Jun 10, 2014 4:55 pm
by sreinhardt
Probably the best way to do this is via freshness checks that return the service to an OK state. This way if nothing has come in for 30-60 minutes, or really any timeframe you wish to use, it will reset back to OK. check_dummy is an ideal plugin for this as you can assign it something like:

Code: Select all

check_dummy 0 "Resetting to OK"