]> granicus.if.org Git - icinga2/commitdiff
Docs: Fix example for cluster health dependency 7279/head
authorMichael Friedrich <michael.friedrich@icinga.com>
Thu, 4 Jul 2019 09:43:34 +0000 (11:43 +0200)
committerMichael Friedrich <michael.friedrich@icinga.com>
Thu, 4 Jul 2019 09:43:34 +0000 (11:43 +0200)
doc/06-distributed-monitoring.md

index fd1b1fd6023ec6586402c09f8f906d822c14ce12..3f55e7510acd0a557bc4d91acdf9c7022b9d1fe4 100644 (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"
 }
 ```