[icinga-users] multiple host dependency

Michael Friedrich michael.friedrich at gmail.com
Sat Aug 30 12:38:40 CEST 2014

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.

DI (FH) Michael Friedrich

michael.friedrich at gmail.com  || icinga open source monitoring
https://twitter.com/dnsmichi || lead core developer
dnsmichi at jabber.ccc.de       || https://www.icinga.org/team
irc.freenode.net/icinga      || dnsmichi

More information about the icinga-users mailing list