Servicedependicy problem

MiikaT mlist.nagios at inlan.inmics.fi
Wed Jun 16 10:12:03 CEST 2004


Hi,

I've set following dependencies to a few hosts:

define servicedependency{
        host_name                       router
        service_description             PING
        dependent_host_name             switch1,switch2
        dependent_service_description   *
        execution_failure_criteria      w,u,c   ; These are the criteria for 
which check execution will be supressed
        notification_failure_criteria   n       ; These are the criteria for 
which notifications will be supressed
        }

define hostdependency{
        host_name                       router
        dependent_host_name             switch1,switch2
        notification_failure_criteria   d,u
        }

The goal is that I don't want to get any alerts from hosts switch1 and 
switch2, if router is down or critical. With this configuration, if router is 
critical, I get this alert:

State: CRITICAL 
Date/Time: Wed Jun 16 10:58:15 EEST 2004 
Additional Info: CRITICAL - Plugin timed out after 10 seconds

and the same alert for both switch1 and switch2. Have I missed something in 
the depency configuration?

-MiikaT




-------------------------------------------------------
This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference
Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer
Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA
REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND
_______________________________________________
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