i just setup Icinga 2, while i tried to migrate our old configuration. I add a host with the address:
object Host “ROUTER-EXAMPLE” {
address = “10.150.107.xxx”
check_command = “check-host-alive”
}
icinga2 tries to ping the address:
192.168.107*. instead the configurated ip-address.
In the icinga2 - Debug-Log and icinga2 - Log is no entry about the 192.168.107 network.
But i can see that my server tries to ping these network, on an other server.
Does somebody has a solution, why Icinga2 tries to ping this network?
that looks fairly strange. Can you share the full log line output where this check happens? I’d say this originates from a different host object, or a service which specifically overrides the address attribute.
If it is a host, you can use the REST API to search for it, e.g. like this:
The filter uses the cidr_match function available in the DSL for expressions. You can also change the URL endpoint to /v1/objects/services for further troubleshooting.
we solved the Problem, it wasn’t an issue from Icinga 2.
It was a network, which will be natted, in our company,
so it is all fine!
But thanks for the fast answer!