[icinga-checkins] icinga.org: icinga2/support/2.5: Docs: Fix missing configuration in distributed monitoring chapter

git at icinga.org git at icinga.org
Thu Nov 24 09:39:46 CET 2016


Module: icinga2
Branch: support/2.5
Commit: 88b5b93bf8ec5a766c511887f9ab6cf227c02014
URL:    https://git.icinga.org/?p=icinga2.git;a=commit;h=88b5b93bf8ec5a766c511887f9ab6cf227c02014

Author: Michael Friedrich <michael.friedrich at netways.de>
Date:   Thu Sep 29 17:58:31 2016 +0200

Docs: Fix missing configuration in distributed monitoring chapter

fixes #12681

---

 doc/6-distributed-monitoring.md |   32 +++++++++++++++++++++++++++++---
 1 file changed, 29 insertions(+), 3 deletions(-)

diff --git a/doc/6-distributed-monitoring.md b/doc/6-distributed-monitoring.md
index 6c75b5a..2865cb2 100644
--- a/doc/6-distributed-monitoring.md
+++ b/doc/6-distributed-monitoring.md
@@ -979,10 +979,14 @@ Edit the `zones.conf` configuration file on the master:
 
     object Zone "icinga2-client1.localdomain" {
       endpoints = [ "icinga2-client1.localdomain" ]
+
+      parent = "master"
     }
 
     object Zone "icinga2-client2.localdomain" {
       endpoints = [ "icinga2-client2.localdomain" ]
+
+      parent = "master"
     }
 
     /* sync global commands */
@@ -1013,6 +1017,8 @@ master. Choose one connection direction.
 
     object Zone "icinga2-client1.localdomain" {
       endpoints = [ "icinga2-client1.localdomain" ]
+
+      parent = "master"
     }
 
     /* sync global commands */
@@ -1035,6 +1041,8 @@ master. Choose one connection direction.
 
     object Zone "icinga2-client2.localdomain" {
       endpoints = [ "icinga2-client2.localdomain" ]
+
+      parent = "master"
     }
 
     /* sync global commands */
@@ -1153,15 +1161,19 @@ The zone hierarchy could look like this. It involves putting the two master node
     }
 
     object Zone "master" {
-      endpoints = [ "icinga2-master1.localdomain", "icinga2-master1.localdomain" ]
+      endpoints = [ "icinga2-master1.localdomain", "icinga2-master2.localdomain" ]
     }
 
     object Zone "icinga2-client1.localdomain" {
       endpoints = [ "icinga2-client1.localdomain" ]
+
+      parent = "master"
     }
 
     object Zone "icinga2-client2.localdomain" {
       endpoints = [ "icinga2-client2.localdomain" ]
+
+      parent = "master"
     }
 
     /* sync global commands */
@@ -1196,6 +1208,8 @@ master nodes. Choose one connection direction.
 
     object Zone "icinga2-client1.localdomain" {
       endpoints = [ "icinga2-client1.localdomain" ]
+
+      parent = "master"
     }
 
     /* sync global commands */
@@ -1222,6 +1236,8 @@ master nodes. Choose one connection direction.
 
     object Zone "icinga2-client2.localdomain" {
       endpoints = [ "icinga2-client2.localdomain" ]
+
+      parent = "master"
     }
 
     /* sync global commands */
@@ -1371,11 +1387,13 @@ using the `host` attribute.
     }
 
     object Zone "master" {
-      endpoints = [ "icinga2-master1.localdomain", "icinga2-master1.localdomain" ]
+      endpoints = [ "icinga2-master1.localdomain", "icinga2-master2.localdomain" ]
     }
 
     object Zone "satellite" {
-      endpoints = [ "icinga2-satellite1.localdomain", "icinga2-satellite1.localdomain" ]
+      endpoints = [ "icinga2-satellite1.localdomain", "icinga2-satellite2.localdomain" ]
+
+      parent = "master"
     }
 
     /* sync global commands */
@@ -1400,6 +1418,8 @@ satellites where the connection information is needed as well.
 
     object Zone "icinga2-client1.localdomain" {
       endpoints = [ "icinga2-client1.localdomain" ]
+
+      parent = "satellite"
     }
 
     [root at icinga2-master1.localdomain /etc/icinga2/zones.d/satellite]# vim icinga2-client2.localdomain.conf
@@ -1410,6 +1430,8 @@ satellites where the connection information is needed as well.
 
     object Zone "icinga2-client2.localdomain" {
       endpoints = [ "icinga2-client2.localdomain" ]
+
+      parent = "satellite"
     }
 
 The two client nodes do not necessarily need to know about each other, either. The only important thing
@@ -1439,6 +1461,8 @@ master nodes. Choose one connection direction.
 
     object Zone "icinga2-client1.localdomain" {
       endpoints = [ "icinga2-client1.localdomain" ]
+
+      parent = "satellite"
     }
 
     /* sync global commands */
@@ -1465,6 +1489,8 @@ master nodes. Choose one connection direction.
 
     object Zone "icinga2-client2.localdomain" {
       endpoints = [ "icinga2-client2.localdomain" ]
+
+      parent = "satellite"
     }
 
     /* sync global commands */



More information about the icinga-checkins mailing list