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

[email protected]  || icinga open source monitoring
https://twitter.com/dnsmichi || lead core developer
[email protected]       || https://www.icinga.org/team
irc.freenode.net/icinga      || dnsmichi

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

Reply via email to