Am 08.12.2015 um 07:51 schrieb Ronny Becker:
Hello,
I am searching for a config example to disable all child checks (Host
and Services) if a service is not in "OK" state.

for example:
NET -> Router1 -> Internet -> Router2 -> Switches -> Hosts

Router2 has a ping service. If the rtt is >200ms, then this service
enters warning state and all Host and Service checks behind Router2
should be suspended.
In the documentation I only find Host dependencies and Service to
Service dependencies?!
Though it's not limited, just try it, for example.

apply Dependency "router1" to Service {
  parent_host_name = "router1"

  states = [ Up ]

  ...

  assign where host.name == "NET-host" && service.name == "NET"
}

Kind regards,
Michael


Thanks
Ronny


_______________________________________________
icinga-users mailing list
icinga-users@lists.icinga.org
https://lists.icinga.org/mailman/listinfo/icinga-users


-- 
Michael Friedrich, DI (FH)
Senior Developer

NETWAYS GmbH | Deutschherrnstr. 15-19 | D-90429 Nuernberg
Tel: +49 911 92885-0 | Fax: +49 911 92885-77
CEO: Julian Hein, Bernd Erk | AG Nuernberg HRB18461
http://www.netways.de | michael.friedr...@netways.de

** OSDC 2016 - April - netways.de/osdc **
** OSBConf 2016 - September - osbconf.org **
_______________________________________________
icinga-users mailing list
icinga-users@lists.icinga.org
https://lists.icinga.org/mailman/listinfo/icinga-users

Reply via email to