I currently have problems monitoring up-time of a target machine in Nagios/Icinga that uses dynamic IP address. The network is using a Windows domain controller for DNS, Icinga server is running on a Ubuntu machine inside the network.
When running "check_ping" command manually I get the following error:
> ./check_ping -H somehost -w 10,1% -c 20,2% check_ping: Invalid hostname/address - somehost
When I run "ping" instead it works:
> ping somehost PING somehost.local (192.168.0.206) 56(84) bytes of data. 64 bytes from somehost.local (192.168.0.206): icmp_req=1 ttl=128 time=0.215 ms
How can I enable monitoring of hosts using dynamic IP?