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
Passive service that needs a reset
Passive service that needs a reset
Nagios XI 5.8.1
https://outsideit.net
https://outsideit.net
Re: Passive service that needs a reset
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?
Former Nagios employee
Re: Passive service that needs a reset
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.
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.
Nagios XI 5.8.1
https://outsideit.net
https://outsideit.net