icinga2 - The Icinga 2 network monitoring daemon (version: r2.10.2-1)
I have a distributed cluster (master,zone1,zone2) running. Each Zone got 2 Satelites as check executor, 1 master on top.
My config tree is:
In zone 2 is a server which should be checked by the zone2 sats, with the exception of one explicit service.
This one check must be executed by the zone1 Sats.
So I thought moving the service configuration from “global-templates/service” to “zone1/service” would work and let only the zone1 sats execute this service.
But because the host config itself is in zone 2, the check_source stayed at the zone2 sats, too.
I tried “command_endpoint = host.zone” but that seems to be incorrect.
I don’t want to set "command_endpoint = “decicated zone1.host” " because of HA.
And as I thought every service, who is stored in the “zones1” directory is only valid for this zone only, I am surprised, that the zones2 satelites still executed this check.
The check itself is applied on host.vars.ipmi_address in the host config (@zone2).
So how do I set the check_source of a host in Zone2 to the Sats of Zone1?
Thanks in advance,