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!!!!
Nagios Passive check alert clearing
-
sreinhardt
- -fno-stack-protector
- Posts: 4366
- Joined: Mon Nov 19, 2012 12:10 pm
Re: Nagios Passive check alert clearing
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"Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.