Am 30.04.2015 um 13:54 schrieb Steffen Waitz:
Dear list,

I've more or less succesfully configured Icinga2 in a master - satellite
environment. The sateliites are in their own zones and the config is pushed
from the master. Any remote checks are reported back to the master.

Icinga2 created the hostobjects and added the services to it.  But when
I do a ifdown eth0 on the satellite the check hostalive will always report
"UP".

My master zone.conf looks like this:

object Endpoint "client3" {
         host = "client3"
}

object Endpoint "icinga2" {
         host = "icinga2"
}

object Zone "client3" {
         parent = "icinga2"
         endpoints = [ "client3" ]
}

object Zone "icinga2" {
         endpoints = [ "icinga2" ]
}

and on the satellite it looks like this:

object Endpoint "client3" { }

object Endpoint "icinga2" { }

object Zone "icinga2" {
     endpoints = [
       "icinga2"
     ]
}

object Zone "client3" {
     endpoints = [
       "client3"
     ]
     parent = "icinga2"
}

Is there something that I overlooked? I know I can add a service check for the
clusterzones but a working hostcheck would be nice.

Then you probably should use the cluster check command for the host as
well, and ensure that this check is executed on the master, not the
satellite.



Many thanks for now
Steffen
_______________________________________________
icinga-users mailing list
[email protected]
https://lists.icinga.org/mailman/listinfo/icinga-users



-- 
Michael Friedrich, DI (FH)
Application Developer

NETWAYS GmbH | Deutschherrnstr. 15-19 | D-90429 Nuernberg
Tel: +49 911 92885-0 | Fax: +49 911 92885-77
GF: Julian Hein, Bernd Erk | AG Nuernberg HRB18461
http://www.netways.de | [email protected]

** OSBConf 2015 - September - osbconf.org **
** OSMC 2015 - November - netways.de/osmc **
_______________________________________________
icinga-users mailing list
[email protected]
https://lists.icinga.org/mailman/listinfo/icinga-users

Reply via email to