2014-08-30 12:38 GMT+02:00 Michael Friedrich <[email protected]>:

> Am 24.08.2014 23:03, schrieb XoorbeS:
>
>> Hi,
>>
>> Is it possible to set up more then one parent in host dependencies?
>>
>>
>> apply Dependency "RTRs" to Host {
>>   parent_host_name =  "RTR-1" || "RTR-2"
>>   disable_checks = true
>>   assign where host.name <http://host.name> in [ "HTTP1", "HTTP2",
>> "HTTP3" ]
>> }
>>
>> In other words, I want to disable notification on HTTP1, HTTP2 and HTTP3
>> servers, only if RTR-1 and RTR-2 is down. Is it possible in icinga2?
>>
>
> Is that an OR or AND condition?
>
> For an OR, you would want to define two apply rules, with a differetn
> parent_host_name each.
>


I mean OR dependency, defining two "apply" rules really works, thanks.
Have you any idea how can I build more complex dependency, e.g.

  host4 depends: (host3 AND (host2 OR host1))

Is it possible in icinga2?

Regards,
Xoor
_______________________________________________
icinga-users mailing list
[email protected]
https://lists.icinga.org/mailman/listinfo/icinga-users

Reply via email to