content on the web won't change even nagios process has been killed

Scott Sugar ssugar at proserveit.com
Thu Jul 28 22:06:45 CEST 2005


That doesnt seem normal... im assuming that there are no other nagios process' once you kill 3548?
 
If there are no instances of nagios running, you should not be able to view the nagios web interface... you should get some error message that says something along the lines of:
 
Error cannot view pages, nagios may not be running... or something like that...
 
Im not too sure if there could be some caching going on... maybe your browser is running through a proxy?.... i dont think that will make a difference though if you try and refresh the page....
 
Anyone else have an idea?
 
scott

________________________________

From: Ran Li [mailto:Ran.Li at sprint-canada.com]
Sent: Thu 7/28/2005 3:15 PM
To: Scott Sugar; nagios-users at lists.sourceforge.net
Subject: RE: [Nagios-users] content on the web won't change even nagios process has been killed


Hi Scott and all,
 
on the step 4, I killed the nagios process 
 
(just a sample)
 
#ps -ef | grep nagios
nagios    3548 31209  0 Jul27 pts/2    00:00:00 ./nagios ../etc/nagios.cfg
 
#kill 3548
 
the web content I mentioned is under the Monitoring category -> Service Detail, where I can see every service 's status on each host. I m using Apache2. I even tried to restart the http service, but won't work either, web shows every service 's status is OK, while nagios is not running. Normal?
 
I think I m using active check not passive one, the parameter check_freshness is set to 0 in the configuration file.
 
nagios server (nagios/web interface/plugins/check_nrpe)
        |
    /       \
host1    host2 (nrpe/plugins)
 
 
Thanks and regards,
 
-tea
 

	-----Original Message-----
	From: Scott Sugar [mailto:ssugar at proserveit.com] 
	Sent: Thursday, July 28, 2005 2:37 PM
	To: Ran Li; nagios-users at lists.sourceforge.net
	Subject: RE: [Nagios-users] content on the web won't change even nagios process has been killed
	
	
	Which nagios server did you shutdown in step 4? 
	If you shutdown the remote one, the central one will not know that the remote machine is no longer sending passive checks unless you set the check_freshness command on the central server.
	Also which web interface are you looking at?
	 
	scott

________________________________

	From: nagios-users-admin at lists.sourceforge.net on behalf of Ran Li
	Sent: Thu 7/28/2005 2:45 PM
	To: nagios-users at lists.sourceforge.net
	Subject: [Nagios-users] content on the web won't change even nagios process has been killed
	
	
	Hi all,
	 
	Please advise which parameter(s) exactly control(s) this.
	 
	situation is
	 
	1. after the configuration, I can monitor the services on the local and remote hosts
	2. when I made the changes on the configuration, I need to restart the nagios process 
	3. for the first couple of times when I restarted the nagiso process, the service that being monitored, their status on the web would show Pending first and then turned to green one by one ... which is OK
	4. I leave it there for a night, this morning, when I shutdown the nagios, found the the content on the web is still the same, which all services are still OK/green even without nagios.
	5. I tried to shutdown some of the services as well, but the content still would not be changed. 
	6. then I started the nagios again, this time it would refresh the status and tells the services that I shutdown are CRITICAL/Red.
	7. I killed the nagios process again, everything stays the same. 
	 
	is this configuration on the nagios or on the apache? some place cache it?
	 
	Thanks and regards,
	 
	-tea

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20050728/399ef32e/attachment.html>


More information about the Users mailing list