Holger Weiß wrote: > * Paul M. Dubuc<[email protected]> [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.
Thanks! Using MK Livestatus (http://mathias-kettner.de/checkmk_livestatus.html) is also a possibility. Paul Dubuc ------------------------------------------------------------------------------ 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 [email protected] 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
