Change host IP Address

Andrew Cruse andrew at profitability.net
Wed May 11 21:51:09 CEST 2005


nagios-users-admin at lists.sourceforge.net wrote:
> Hi list
> 
> 
> 
> Greetings,
> 
> 
> 
> I'm a Unix Admin learning about Nagios.
> 
> I've got a lot still to learn but have read the docs and got
> a test  instance working 2.0b3.
> 
> 
> 
> My problem is the production instance I inherited 2.0b2 on RH-WS...
> 
> 
> 
> A few servers had their IP address changed. I thought editing
> the  hosts.cfg file and restarting nagios would be enough  -
> yet when  I browse to the 'host detail' web interface I can
> see two different  IP addresses listed.
> 
> 
> 
>  The main host info at the top of the page shows the new,
> correct  address (10.19.4.15) but in the sub fields I still see
> 
> "CRITICAL - Host Unreachable (10.10.15.4)" and the
> check_pings are  banging on this old address creating
> needless errors. How to fix  this? I'm searching for anywhere
> this old IP may be stored but  to no avail thus far.


Sounds like you might have two instances of Nagios running on your
production server.  Try:

service nagios stop
killall -9 nagios
service nagios start

And see if that doesn't clear things up for you.

Andrew



-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393&alloc_id=16281&op=click
_______________________________________________
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