Morning all

I have a problem with HA clustering that is driving me nuts.

I have two hosts, host-1 and host-2, where host-1 is the master.
I used this doc....
http://docs.icinga.org/icinga2/latest/doc/module/icinga2/chapter/distributed-monitoring-high-availability

I used the node wizard to setup host-1 as master and host-2 as satellite.
Configs look like this.

MASTER.

zones.conf

object Endpoint "icinga-1" {
         host = "192.168.121.225"
}

object Endpoint "icinga-2" {
         host = "192.168.121.65"
}

object Zone "config-ha-master" {
         endpoints = [ "icinga-1", "icinga-2" ]
}

object Zone "global-templates" {
   global = true
}

api.conf
object ApiListener "api" {
   cert_path = SysconfDir + "/icinga2/pki/" + NodeName + ".crt"
   key_path = SysconfDir + "/icinga2/pki/" + NodeName + ".key"
   ca_path = SysconfDir + "/icinga2/pki/ca.crt"
   accept_commands = true

   ticket_salt = TicketSalt
}

constants.conf
zone and host constants correct.

icinga2.conf
conf.d commented out.

in zones.d
global-templates created and 2 config files created.
api-users.conf
apt.conf

This is to test.

SLAVE

zones.conf

object Endpoint "icinga-1" {
         host = "192.168.121.225"
}

object Endpoint "icinga-2" {
         host = "192.168.121.65"
}

object Zone "config-ha-master" {
         endpoints = [ "icinga-1", "icinga-2" ]
}

object Zone "global-templates" {
   global = true
}

api.conf
object ApiListener "api" {
   cert_path = SysconfDir + "/icinga2/pki/" + NodeName + ".crt"
   key_path = SysconfDir + "/icinga2/pki/" + NodeName + ".key"
   ca_path = SysconfDir + "/icinga2/pki/ca.crt"
   accept_commands = true
   accept_config = true

   ticket_salt = TicketSalt
}

constants.conf
zone and host constants correct.

icinga2.conf
conf.d commented out.

zones.d
empty, nothing there.

What is wrong??


Stefaans




Stefaans Mostert
CONTRACTOR: LINUX SYSTEM ADMINISTRATOR

Tel:    +27114591804
Fax:    +27114591872
Mobile: +27844634590
Website:http://www.grindrodbank.co.za
Fourth Floor, Grindrod Tower, 8A Protea Place, Sandton
PO Box 78011, Sandton, 2146



<<attachment: stefaansm.vcf>>

_______________________________________________
icinga-users mailing list
icinga-users@lists.icinga.org
https://lists.icinga.org/mailman/listinfo/icinga-users

Reply via email to