Page 1 of 1

Passive service that needs a reset

Posted: Thu Mar 27, 2014 3:46 am
by WillemDH
Hello,

We have some passive services that receive critcal events from 02:00 untill 05:00 (backup and maintenance of a cluster). As we have set the maximum age in nsclient.ini at three days; The sevrice will only reset when it has not received any events for three days. As this passive service is critical every morning and we have to submit an ok result every morning, I was wondering how I could best automate this. Maybe a cronjob that executes an external command?
Any advice on how to handle this?

Grtz

Willem

Re: Passive service that needs a reset

Posted: Thu Mar 27, 2014 11:52 am
by tmcdonald
That's how I would do it. That or set a time restriction on the notifications if those are what bug you. Not entirely sure what you mean by the service resetting. Do you mean "service" from the Nagios perspective? Or like a Windows service?

Re: Passive service that needs a reset

Posted: Thu Mar 27, 2014 4:17 pm
by WillemDH
I mean nsclient sends a passive OK check, configured by the maximum age variable of a real-time event log filter. It is set to three days by default.
Setting a time restriction on the notifications would not be enough as the service would still be critical in the morning and I would like to have my 'open servive problems' view as clean as possible.
I'll try setting up the cronjob.