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 */
object Zone "icinga2-client1.localdomain" {
endpoints = [ "icinga2-client1.localdomain" ]
+
+ parent = "master"
}
/* sync global commands */
object Zone "icinga2-client2.localdomain" {
endpoints = [ "icinga2-client2.localdomain" ]
+
+ parent = "master"
}
/* sync global commands */
}
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 */
object Zone "icinga2-client1.localdomain" {
endpoints = [ "icinga2-client1.localdomain" ]
+
+ parent = "master"
}
/* sync global commands */
object Zone "icinga2-client2.localdomain" {
endpoints = [ "icinga2-client2.localdomain" ]
+
+ parent = "master"
}
/* sync global commands */
}
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 */
object Zone "icinga2-client1.localdomain" {
endpoints = [ "icinga2-client1.localdomain" ]
+
+ parent = "satellite"
}
[root@icinga2-master1.localdomain /etc/icinga2/zones.d/satellite]# vim icinga2-client2.localdomain.conf
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
object Zone "icinga2-client1.localdomain" {
endpoints = [ "icinga2-client1.localdomain" ]
+
+ parent = "satellite"
}
/* sync global commands */
object Zone "icinga2-client2.localdomain" {
endpoints = [ "icinga2-client2.localdomain" ]
+
+ parent = "satellite"
}
/* sync global commands */