Service dependency fun
Randy Rodriguez
randy at grouchybastid.com
Fri Oct 2 21:35:42 CEST 2009
Hey all. Here's my situation, and my dilemma. I instituted a check of
the snmpd process on a group of hosts, all of which do snmp-based checks
of other services. I want to institute a dependency such that the snmp
checks do not notify if the snmpd check fails. Simple, no? Here's my
service dependency cfg:
define servicedependency{
hostgroup_name all_servers
service_description snmp_svc
dependent_service_description snmp_*
execution_failure_criteria n
notification_failure_criteria c,u
}
I've also tried it like this:
define servicedependency{
hostgroup_name all_servers
service_description snmp_svc
dependent_servicegroup_name snmp_checks
execution_failure_criteria n
notification_failure_criteria c,u
}
and both fail in the same way. The error is
Error: Could not expand master services specified in service dependency
(config file '/usr/local/nagios/etc/objects/service_dependencies.cfg',
starting on line 1)
Clearly I'm missing something. Any help appreciated.
Nagios 3.0.6, btw.
Thanks,
-Randy
------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
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