I'm trying to setup 2 icinga2 instances in a HA cluster. Here's my zones.conf 
(same on both instances)

object Endpoint "lospicinga1" {
  host = "lospicinga1.cylon.local"
}

object Endpoint "loxpicinga1" {
  host = "loxpicinga1.cylon.local"
}

object Zone "ln" {
  endpoints = [ "lospicinga1", "loxpicinga1" ]
}

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

Lospicinga1 is the master, and sees loxpicinga1 connected.
Loxpicinga1 receives lots of JsonRpcConnection messages, all similar to 
"Received 'event::<eventname>'".
I've added some host and service objects to lospicinga1, and set 
command_endpoint = "loxpicinga1" or "lospicinga1" on them
Loxpicinga1 does not receive any commands from the master to execute checks....

Here's my api config (same on both)

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_config = true
  accept_commands = true

  ticket_salt = TicketSalt
}

Any ideas? :)

Thanks,
Ross
This email and any files transmitted with it contain confidential, privileged 
and/or proprietary information and is solely for the use of the intended 
recipient. If you are not the intended recipient please return the email to the 
sender and delete it from your computer and you must not use, disclose, 
distribute, copy, print or rely on this email or its contents. This 
communication is for informational purposes only. It is not intended as an 
offer or solicitation for the purchase or sale of any financial instrument or 
as an official confirmation of any transaction. Any comments or statements made 
herein do not necessarily reflect those of XTX. XTX Markets Limited is 
registered in England and Wales at Leconfield House, Curzon Street, London W1J 
5JA, number 09415174. XTX Research LLP is registered in England and Wales at 
the same address, number OC397853.
_______________________________________________
icinga-users mailing list
[email protected]
https://lists.icinga.org/mailman/listinfo/icinga-users

Reply via email to