Hi Folks,
I would like to write a script to check if any notifications or active check have been disabled, we check around 600 hosts, and 2600 services, so going through all those would be a pain. I know I could look at the tactical overview, but I would like an email sent on a regular basis, with what hosts or services have had the checks or notifications disabled...
I would appreciate any help or pointers that anyone can give...
Thanks...
How to see active check and notifications state without GUI
Re: How to see active check and notifications state without GUI
You could probably write a simple check plugin that scanned through the nagios/var/objects.cache file. This is a compilation of all of the full configurations for everything in Nagios. Also, you could check exchange.nagios.org and see if someone has already written something like this.
Re: How to see active check and notifications state without GUI
Thanks for this, just what i have been searchng for!
I will look into the cache file, and let you know how i get on...
Cheers,
I will look into the cache file, and let you know how i get on...
Cheers,