Dear all,
maybe I missed a already existing topic for that. But at this moment I “can’t see the wood for the trees”. I have the following situation:
Icinga2-Master located at my home, behind a FritzBox (192.168.178.12)
Icinga2-Satellite located on a different location behind a FritzBox too (192.168.179.5)
My master has the port 5665 reachable via port forwarding and the satellite connects to the icinga2-master. I can do service checks on the satellite, no problem.
But in Icinga Web it is shown as “unreachable” what is for sure true, because I configured this host object:
object Host "extern" {
import "generic-host"
address = "192.168.179.5"
vars.agent_endpoint = name
vars.os = "Linux"
vars.notification["sms"] = {
users = [ "tgm" ]
}
vars.disks["disk /"] = {
disk_partitions = "/"
}
}
And yes indeed the icinga2-master can not ping 192.168.179.5. The service check is running through the agent, because I use command_endpoint. Okay, fine. But how I can show in Icinga if the host is really up or down? Any idea?
The host overview is always down, the checks has the real state. Only ssh/ping as service check is critical because Icinga-master can not reach them. OK. Maybe I could add “command_endpoint” for this both checks ONLY for this agent. Then they would be recover. Okay… BUT: The host is shown as unreachable/down in the host-overview. How I can solve this?