Am 27.05.2016 um 16:23 schrieb Ilott, Ross
<[email protected]<mailto:[email protected]>>:
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>'".
That's notice and debug output.
I've added some host and service objects to lospicinga1, and set
command_endpoint = "loxpicinga1" or "lospicinga1" on them
Where exactly?
Loxpicinga1 does not receive any commands from the master to execute checks....
Does that mean it does not execute chcecks at all? Anything preventing it as
seen on the logs?
icinga2 --version from both nodes as well please.
Kind regards,
Michael
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]<mailto:[email protected]>
https://lists.icinga.org/mailman/listinfo/icinga-users
--
Michael Friedrich, DI (FH)
Senior Developer
NETWAYS GmbH | Deutschherrnstr. 15-19 | D-90429 Nuernberg
Tel: +49 911 92885-0 | Fax: +49 911 92885-77
CEO: Julian Hein, Bernd Erk | AG Nuernberg HRB18461
http://www.netways.de | [email protected]
** OSBConf 2016 - September - osbconf.org **
** OSMC 2016 - November - netways.de/osmc **
_______________________________________________
icinga-users mailing list
[email protected]
https://lists.icinga.org/mailman/listinfo/icinga-users