eventhandlers running when a dependent service dependency is not satisfied

Hugo van der Kooij hvdkooij at vanderkooij.org
Fri Dec 9 09:03:52 CET 2005


On Thu, 8 Dec 2005, Eli Stair wrote:

>    SSH -- SNMP --\
>                   - Ganglia
>                   - NTP

> define servicedependency{
>          host_name                       HOSTNAME1
>          service_description             SSH
>          dependent_host_name             HOSTNAME1
>          dependent_service_description   SNMP
>          execution_failure_criteria      w,p,u,c
>          notification_failure_criteria   w,p,u,c
>          inherits_parent                 1
> }

Here you asume that if SSH fails because it depends on another service it
will also fail SNMP

I have not seen SSH being dependent on anything however in your
description. How a non exsiting parent will impact services is unknown to
me.

> define servicedependency{
>          host_name                       HOSTNAME1
>          service_description             SNMP
>          dependent_host_name             HOSTNAME1
>          dependent_service_description   SNMP--*
>          execution_failure_criteria      w,p,u,c
>          notification_failure_criteria   w,p,u,c
>          inherits_parent                 1
> }

Is this a real wildcard? Are they supported?

I would expect:

define servicedependency{
          host_name                       HOSTNAME1
          service_description             SNMP
          dependent_host_name             HOSTNAME1
          dependent_service_description   NTP
          execution_failure_criteria      w,p,u,c
          notification_failure_criteria   w,p,u,c
          inherits_parent                 1
}

define servicedependency{
          host_name                       HOSTNAME1
          service_description             SNMP
          dependent_host_name             HOSTNAME1
          dependent_service_description   Ganglia
          execution_failure_criteria      w,p,u,c
          notification_failure_criteria   w,p,u,c
          inherits_parent                 1
}


Hugo.

-- 
	I hate duplicates. Just reply to the relevant mailinglist.
	hvdkooij at vanderkooij.org		http://hvdkooij.xs4all.nl/
		Don't meddle in the affairs of magicians,
		for they are subtle and quick to anger.


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
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