nagios using wrong ip for host?

Marc Powell marc at ena.com
Fri Jul 21 15:07:49 CEST 2006



> -----Original Message-----
> From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-
> bounces at lists.sourceforge.net] On Behalf Of Hari Sekhon
> Sent: Thursday, July 20, 2006 12:30 PM
> To: nagios-users at lists.sourceforge.net
> Subject: [Nagios-users] nagios using wrong ip for host?
> 
> My nagios server is telling me that a host is down despite also saying
> that a service on that host is up !!!!!!
> 
> MyServer     Oracle       OK     20-07-2006 18:23:52     0d 0h 48m 44s
>     1/3     OK - dummy login connected
> 
>                     SSH    CRITICAL     20-07-2006 18:22:26     0d 1h
> 28m 30s     3/3     No route to host
> 
> Looking at the host status is says
> 
> MyServer    DOWN     20-07-2006 18:25:19     0d 1h 30m 54s
CRITICAL
> - Host Unreachable (192.168.1.29)
> 
> but the ip address for the server is 192.168.1.43, why is it using the
> wrong address?????????

Besides the previous suggestion of grepping the IP out of your configs,
you may have multiple copies of nagios running. An old one may be
running with an old config in which you had specified the IP as .29.
Make sure that you only have one master nagios daemon running (stop
nagios, kill any that remain and start nagios again).

--
Marc

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
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





More information about the Users mailing list