How to find active check status for a service?

Holger Weiß holger at CIS.FU-Berlin.DE
Thu Jul 15 23:28:49 CEST 2010


* Paul M. Dubuc <work at paul.dubuc.org> [2010-07-15 17:08]:
> Is there some programmatic way to find out whether or not active checks are 
> enabled or disabled for a service in Nagios.   We have a requirement for an
> audit to provide notifications for certain critical services that may have 
> their active checks disabled so they aren't left that way any longer than 
> necessary.

You could parse the status file, see

ftp://ftp.in-berlin.de/pub/users/weiss/nagios/tools/disabled-notifications

for an example.

Holger

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list