Merge pull request #7991 from lyknode/bugfix/fix-distributed-docs

Docs: fix zones config example for second master
This commit is contained in:
Alexander Aleksandrovič Klimov 2020-10-29 15:39:12 +01:00 committed by GitHub
commit db712124c9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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" {