Hey guys, When I set up Icinga2 HA cluster, I defined endpoint and master zone objects in zones.conf file. It looks like what's listed below on master1, and vice versa on master2 instance:
object Endpoint "<master1>" { } object Endpoint "<master2>" { host = "<IP of master2>" port = 5665 } object Zone "master" { //this is the local node master named = "master" endpoints = [ "<master1>", "<master2>" ] } But I ran into a problem when I run "icinga2 node update-config" to fetch Icinga2 client endpoints configurations so that service check results on Icinga2 client will be sent back to the HA master. But after running the command, I found out master zone and master endpoint objects are defined again under repository.d. Thus I'm not able to reload Icinga2 in this case What would be the best approach to setting up HA cluster with master zone and clients with local configuration, while sending their inventory to the master? I assume if I disconnect communication between master1 and master2, running "icinga2 node update-config" won't sync the objects from another master instance, but how would cluster health check work properly if there is no communication between 2 icinga2 masters? Please advise if you have set up a similar Icinga2 cluster and successfully synced the client configurations. This has really become a blocker for me. Thanks Max
_______________________________________________ icinga-users mailing list icinga-users@lists.icinga.org https://lists.icinga.org/mailman/listinfo/icinga-users