[Nagiosplug-devel] how to find the services that are on disable notifications

Thomas Guyot-Sionnest dermoth at aei.ca
Sat Mar 7 00:57:40 CET 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 06/03/09 05:10 PM, Ovidiu Marcu wrote:
> Hello all,
> 
>  
> 
> I’m trying to find a way to see all the hosts and services that have
> disable notifications set. I have 5000 service_checks on my server and
> it is very hard to click on Service Detail and then scroll down to find
> them. This is a problem because we often do maintenance and then we
> forget the service_checks with disable notifications on . And yes I know
> we should use schedule downtime J

I use the following URLs for disabled services and hosts respectively
(excludes all problem hosts/services).

http://<nagios_host>/nagios/cgi-bin/status.cgi?host=all&servicestatustypes=2&serviceprops=4096
http://<nagios_host>/nagios/cgi-bin/status.cgi?hostgroup=all&style=hostdetail&hoststatustypes=2&hostprops=4096

You may want to add the hoststatustype=2 to the services url too is you
want to avoid down hosts too.

- --
Thomas
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFJsbh06dZ+Kt5BchYRApBZAJoCKidI99JitxMfPgVG429fGMW+ugCfTqBS
FtkY6Rbbpb0d0yGSjZNAo/0=
=tXjc
-----END PGP SIGNATURE-----




More information about the Devel mailing list