mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-21 20:54:35 +02:00
Merge pull request #7991 from lyknode/bugfix/fix-distributed-docs
Docs: fix zones config example for second master
This commit is contained in:
commit
db712124c9
@ -1669,14 +1669,14 @@ The secondary master waits for connection attempts from the first master,
|
|||||||
and therefore does not try to connect to it again.
|
and therefore does not try to connect to it again.
|
||||||
|
|
||||||
```
|
```
|
||||||
[root@icinga2-master1.localdomain /]# vim /etc/icinga2/zones.conf
|
[root@icinga2-master2.localdomain /]# vim /etc/icinga2/zones.conf
|
||||||
|
|
||||||
object Endpoint "icinga2-master1.localdomain" {
|
object Endpoint "icinga2-master1.localdomain" {
|
||||||
// That's us
|
// The first master already connects to us
|
||||||
}
|
}
|
||||||
|
|
||||||
object Endpoint "icinga2-master2.localdomain" {
|
object Endpoint "icinga2-master2.localdomain" {
|
||||||
// The first master already connects to us
|
// That's us
|
||||||
}
|
}
|
||||||
|
|
||||||
object Zone "master" {
|
object Zone "master" {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user