[Nagiosplug-devel] how to find the services that are on disable notifications
Ovidiu Marcu
Ovidiu.Marcu at tdn.de
Sat Mar 7 07:37:20 CET 2009
Thank you Marc, thank you Thomas.
Both Solutions work great.
Viele Grüße,
ServiceDesk_TDN
Ovidiu Marcu
-----Original Message-----
From: Thomas Guyot-Sionnest [mailto:dermoth at aei.ca]
Sent: Saturday, March 07, 2009 1:58 AM
To: Nagios Plugin Development Mailing List
Subject: Re: [Nagiosplug-devel] how to find the services that are on disable notifications
-----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-----
------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________________
Nagios Plugin Development Mailing List Nagiosplug-devel at lists.sourceforge.net
Unsubscribe at https://lists.sourceforge.net/lists/listinfo/nagiosplug-devel
::: Please include plugins version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
More information about the Devel
mailing list