Docs: Fix example for cluster health dependency

This commit is contained in:
Michael Friedrich 2019-07-04 11:43:34 +02:00
parent f3e682cef4
commit 9b2bfa1bd3
1 changed files with 2 additions and 2 deletions

View File

@ -2274,13 +2274,13 @@ add a dependency which prevents notifications for all other failing services:
[root@icinga2-master1.localdomain /]# vim /etc/icinga2/zones.d/master/dependencies.conf
apply Dependency "health-check" to Service {
parent_service_name = "child-health"
parent_service_name = "cluster-health"
states = [ OK ]
disable_notifications = true
assign where host.vars.client_endpoint
ignore where service.name == "child-health"
ignore where service.name == "cluster-health"
}
```