hello,

 

i try to build a cluster with 2 nodes and the cluster itself works (ssl and
communication) but if i change config files on one node nothing will be
replicated to the other node, i always see sending 0 config files. in the
logs

for example create a whatever.conf under /etc/icinga2/conf.d/ and do a
service icinga2 reload on icinga-node-sw

 

please could you tell me what is wrong?

 

config node 1

 

include <itl/itl.conf>

include "features-enabled/*.conf"

include_recursive "conf.d" "*.conf"

 

library "cluster"

 

object ClusterListener "cluster" {

  ca_path = "/etc/icinga2/ca/ca.crt",

  cert_path = "/etc/icinga2/ca/icinga-node-sw.crt",

  key_path = "/etc/icinga2/ca/icinga-node-sw.key",

 

  bind_port = 8888,

 

  peers = [ "icinga-node-mt" ]

}

object Endpoint "icinga-node-sw" {

  host = "icinga-node-sw",

  port = 8888,

  config_files = [ "/etc/icinga2/conf.d/*.conf" ]

}

object Endpoint "icinga-node-mt" {

  host = "icinga-node-mt",

  port = 8888

}

 

config node 2

 

include <itl/itl.conf>

include "features-enabled/*.conf"

include_recursive "conf.d" "*.conf"

 

library "cluster"

 

object ClusterListener "cluster" {

  ca_path = "/etc/icinga2/ca/ca.crt",

  cert_path = "/etc/icinga2/ca/icinga-node-mt.crt",

  key_path = "/etc/icinga2/ca/icinga-node-mt.key",

 

  bind_port = 8888,

 

  peers = [ "icinga-node-sw" ]

}

object Endpoint "icinga-node-mt" {

  host = "icinga-node-mt",

  port = 8888,

  accept_config = [ "icinga-node-sw" ]

}

object Endpoint "icinga-node-sw" {

  host = "icinga-node-sw",

  port = 8888

}

include (IcingaLocalStateDir + "/lib/icinga2/cluster/config/*/*")

 

thank you

 

br

Andre

------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
icinga-users mailing list
icinga-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/icinga-users

Reply via email to