On Dec 5, 2007, at 1:34 AM, Dinçer Kavraal wrote:

> Hi all,
> I think check_host_alive has got sth wrong with it.
>
> I have controlled output of "check_host_alive" when I saw my host  
> down. It was saying: (on page nagios/cgi-bin/extinfo.cgi? bla bla  
> for host detail)
> CRITICAL - Host Unreachable (85.29.1.77)
>
> However the fact is that I have grepped all relevant nagios  
> configuration files and never seen an IP like " 85.29.1.77", I just  
> defined host with IP .26.77. On the other hand, I tried to run it on  
> console, expectedly it said:
> CRITICAL - Host Unreachable (85.29.26.77)

This is pretty unusual. Please post the host and command definitions.   
For a typical installation, check_host_alive uses check_ping which is  
just a wrapper for /bin/ping. It asks /bin/ping to ping the host and  
parses it's output for the response. Could it have been that IP in the  
config file at any time? Do you have multiple copies of nagios running  
with the older one having seen that IP in the config files?


--
Marc
-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
Nagios-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Reply via email to