Hello all!
I have one problem.
In hosts.cfg i wrote:
…
host_name 1007_2b
…
address 172.16.97.3
…
check_command check-host-alive
…
and nagios must check this host.But, i see, that nagios ask my dns-server who is 172.16.97.3.mydomain.ru.
In nagios-manual i’m find information, that nagios use address field.If address is not define, then nagios ask my dns, who is hostname.mydomain.ru. Why nagios asked my dns, if i have defined address field ???
Run the command by hand as user nagios and paste the output.
cd /usr/local/nagios/libexec
./whatever you have defined for “check-host-alive” and all the appropriate options that you have defined for check-host-alive.