Cached Configuration Settings

Crusty Applesniffer crusty.applesniffer at free.fr
Thu Jul 31 21:57:13 CEST 2003


I think you should reload nagios configuration (Stopping and restarting
nagios chapter in the nagios documentation)

Desired Action 			Command
Description 
Stop Nagios				/etc/rc.d/init.d/nagios stop
This kills the Nagios process 
Restart Nagios			/etc/rc.d/init.d/nagios restart
This kills the current Nagios process and then starts Nagios up again 
Reload Configuration Data 	/etc/rc.d/init.d/nagios reload 	Sends a
SIGHUP to the Nagios process, causing it to flush its current
configuration data, 
	
reread the configuration files, and start monitoring again 

Crusty Applesniffer.


-----Original Message-----
From: Jordan Reiter [mailto:jordan at cvilleweekly.com] 
Sent: Thursday, July 31, 2003 8:59 PM
To: nagios-users at lists.sourceforge.net
Subject: [Nagios-users] Cached Configuration Settings


Hello,

I was hoping you could help me with a problem I've been having.

When I was setting up the hosts.cfg file, I accidentally entered the
wrong IP address for a host.

I've since then corrected the IP, but every so often it seems that
Nagios is still trying to do a PING to the old address. If I go through
the web administration and click on "Service Detail", from time to time
it will show hosts as being down, and show the PING action as

/bin/ping -n -U -c 5 x.x.x.x

(x.x.x.x being the old ip address I entered first).

When I do a grep of the /usr/local/nagios folder to find the old IP
address, I don't find any instances of it *anywhere* in the nagios
folder (with the exception of the log files). Where is it getting the
old IP address from and how can I permanently remove it?

Thanks for any help you can offer,
Jordan

-- 

Jordan Reiter                          mailto:jordan at breezing.com
Breezing.com                           http://breezing.com
1106 West Main St                      phone:434.295.2050
Charlottesville, VA 22903              fax:603.843.6931


-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01
/01
_______________________________________________
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



-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
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