From 9b2bfa1bd320bf1766d6470db281ad6c3fa8a98b Mon Sep 17 00:00:00 2001 From: Michael Friedrich Date: Thu, 4 Jul 2019 11:43:34 +0200 Subject: [PATCH] Docs: Fix example for cluster health dependency --- doc/06-distributed-monitoring.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/06-distributed-monitoring.md b/doc/06-distributed-monitoring.md index fd1b1fd60..3f55e7510 100644 --- a/doc/06-distributed-monitoring.md +++ b/doc/06-distributed-monitoring.md @@ -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" } ```