how to specify multiple dependencies

Guillaume Rousse Guillaume.Rousse at inria.fr
Tue Oct 7 12:33:56 CEST 2008


Hello list.

I understand the main idea behind service dependencies, to avoid 
duplicated alerts for service A when another depended service B is down. 
However, when this other service B is redunded by service C, how to 
specify than A depends on (B or C) ?

AFAIK, the syntax specifying multiple host in a dependency relationship 
doesn't imply any relationship between those host, but is just syntaxic 
sugar for multiple declaration:

define servicedependency {
     host_name                           B,C
     service_description                 X
     dependent_host_name                 A
     dependent_service_description       Y
}

is strictly equivalent to:
define servicedependency {
     host_name                           B
     service_description                 X
     dependent_host_name                 A
     dependent_service_description       Y
}
define servicedependency {
     host_name                           C
     service_description                 X
     dependent_host_name                 A
     dependent_service_description       Y
}
-- 
Guillaume Rousse
Moyens Informatiques - INRIA Futurs
Tel: 01 69 35 69 62

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/




More information about the Developers mailing list