Merge pull request #7279 from Icinga/bugfix/docs-cluster-health-dependency

Docs: Fix example for cluster health dependency
This commit is contained in:
Michael Friedrich 2019-07-04 17:08:42 +02:00 committed by GitHub
commit 56a5964c1b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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"
}
```