Hi there,
Forgive me as I am relatively new to Icinga and my understanding is very basic - I have a multi-master configuration which is working correctly with local devices or public facing devices - I want to add a satellite behind a firewall/NAT to monitor some remote devices.
I have added the satellite zone to the master and the satellite seems it is pulling its config correctly, however it appears the satellite does not know about the checks.
I’ve definitely made a configuration error somewhere but I cannot seem to find where I have made the mistake.
In IcingaWeb I am seeing the hostalive checks on PENDING, however reachable is marked as ‘yes’ - the check source is blank too.
On the satellite I can see it is not aware of any pending checks:
[2019-07-05 11:53:26 +1000] notice/CheckerComponent: Pending checkables: 0; Idle checkables: 0; Checks/s: 0
In /etc/icinga2/zones.conf I have created the satellite zone:
object Endpoint "satellite" {
}
object Zone "satelliteZone" {
endpoints = [ "satellite" ]
parent = "master"
}
In /etc/icinga2/zones.d/ on the master, I have a folder for the satellite zone which contains two folders for the satellite server itself and a Windows host in that network.
Contents of /etc/icinga2/zones.d/satelliteZone/satellite/hosts.conf:
object Host "satellite" {
import "generic-host"
address = "192.180.1.69"
check_command = "hostalive"
command_endpoint = "satellite"
}
The Windows host is having the same problem, but I assume it’s the same cause, and I can also see on the satellite logs the Windows agent is sending its heartbeat.
On the master, I see in the logs:
[2019-07-05 11:56:05 +1000] debug/ApiListener: Not connecting to Endpoint ' **satellite** ' because the host/port attributes are missing
But I am seeing:
[2019-07-05 11:56:01 +1000] notice/JsonRpcConnection: Received ‘event::Heartbeat’ message from ’ satellite ’
Sorry for the wall of text… I’ve tried to include as much information as possible.