[icinga-checkins] icinga.org: icinga2/feature/child-process-fd-leak-8900: Docs: Fix missing configuration in distributed monitoring chapter

git at icinga.org git at icinga.org
Tue Oct 4 08:27:58 CEST 2016


Module: icinga2
Branch: feature/child-process-fd-leak-8900
Commit: 5b322f559b161491de1f25bb3b8a136198182437
URL:    https://git.icinga.org/?p=icinga2.git;a=commit;h=5b322f559b161491de1f25bb3b8a136198182437

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 9a6ce07..725d3b2 100644
--- a/doc/6-distributed-monitoring.md
+++ b/doc/6-distributed-monitoring.md
@@ -985,10 +985,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 */
@@ -1019,6 +1023,8 @@ master. Choose one connection direction.
 
     object Zone "icinga2-client1.localdomain" {
       endpoints = [ "icinga2-client1.localdomain" ]
+
+      parent = "master"
     }
 
     /* sync global commands */
@@ -1041,6 +1047,8 @@ master. Choose one connection direction.
 
     object Zone "icinga2-client2.localdomain" {
       endpoints = [ "icinga2-client2.localdomain" ]
+
+      parent = "master"
     }
 
     /* sync global commands */
@@ -1159,15 +1167,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 */
@@ -1202,6 +1214,8 @@ master nodes. Choose one connection direction.
 
     object Zone "icinga2-client1.localdomain" {
       endpoints = [ "icinga2-client1.localdomain" ]
+
+      parent = "master"
     }
 
     /* sync global commands */
@@ -1228,6 +1242,8 @@ master nodes. Choose one connection direction.
 
     object Zone "icinga2-client2.localdomain" {
       endpoints = [ "icinga2-client2.localdomain" ]
+
+      parent = "master"
     }
 
     /* sync global commands */
@@ -1377,11 +1393,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 */
@@ -1406,6 +1424,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
@@ -1416,6 +1436,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
@@ -1445,6 +1467,8 @@ master nodes. Choose one connection direction.
 
     object Zone "icinga2-client1.localdomain" {
       endpoints = [ "icinga2-client1.localdomain" ]
+
+      parent = "satellite"
     }
 
     /* sync global commands */
@@ -1471,6 +1495,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