<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>Message</TITLE>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2800.1498" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=096335215-29072005>Hi
List,</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=096335215-29072005></SPAN></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=096335215-29072005>I did
another test,</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=096335215-29072005></SPAN></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=096335215-29072005>1.
kill the nagios process</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=096335215-29072005>2.
visit <A href="http://my_ip/nagios">http://my_ip/nagios</A> ->
normal</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=096335215-29072005>3.
click Monitoring -> Service Detail -> normal , same page is showed
before the process was killed</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=096335215-29072005>4. mv
../nagios/var/status.dat ../nagios/var/status.dat.old</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=096335215-29072005>5.
visit <A href="http://my_ip/nagios">http://my_ip/nagios</A> ->
normal</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=096335215-29072005>6.
click Monitoring -> Service Detail -> this time I got</SPAN></FONT></DIV>
<DIV><FONT color=#0000ff size=2><SPAN class=096335215-29072005>
<H1><FONT face=Arial>Whoops!</FONT></H1>
<P><STRONG><FONT face=Arial color=red>Error: Could not read host and service
status information!</FONT></STRONG></P>
<P><FONT face=Arial>The most common cause of this error message (especially for
new users), is the fact that Nagios is not actually running. If Nagios is indeed
not running, this is a normal error message. It simply indicates that the CGIs
could not obtain the current status of hosts and services that are being
monitored. If you've just installed things, make sure you read the documentation
on starting Nagios. </FONT></P>
<P><FONT face=Arial>Some other things <SPAN
class=096335215-29072005>......</SPAN></FONT></P>
<P><FONT face=Arial><SPAN class=096335215-29072005>7. start the nagios process,
everything went back to normal</SPAN></FONT></P>
<P><FONT face=Arial><SPAN class=096335215-29072005>is this status.dat suppose to
be deleted after the nagios is off?</SPAN></FONT></P>
<P><FONT face=Arial><SPAN class=096335215-29072005>please comment,
thanks.</SPAN></FONT></P>
<P><FONT face=Arial><SPAN class=096335215-29072005>Regards,</SPAN></FONT></P>
<P><FONT face=Arial><SPAN class=096335215-29072005>-tea</SPAN></FONT></P>
<P><FONT face=Arial><SPAN
class=096335215-29072005></SPAN></FONT> </P></SPAN></FONT></DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
<DIV></DIV>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left><FONT
face=Tahoma size=2>-----Original Message-----<BR><B>From:</B> Ran Li
<BR><B>Sent:</B> Thursday, July 28, 2005 4:54 PM<BR><B>To:</B> 'Scott Sugar';
nagios-users@lists.sourceforge.net<BR><B>Subject:</B> RE: [Nagios-users]
content on the web won't change even nagios process has been
killed<BR><BR></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=580392420-28072005>Hi
Scott and all,</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=580392420-28072005></SPAN></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=580392420-28072005>Thanks for the reply.</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=580392420-28072005></SPAN></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=580392420-28072005>before I did could see the error page when
without nagios running, how come not be able to right now.
</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=580392420-28072005></SPAN></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=580392420-28072005>yes,
the process 3548 is the only nagios process. </SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=580392420-28072005></SPAN></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=580392420-28072005>I m
afraid of my broswer's caching so I tried to visit the web page from another
computer which never visit the page before, know what, It shows the same
normal page when WITHOUT nagios running.</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=580392420-28072005></SPAN></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=580392420-28072005>Anybody met this problem before? please comment.
Thanks.</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=580392420-28072005></SPAN></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=580392420-28072005>Regards,</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=580392420-28072005></SPAN></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=580392420-28072005>-tea</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=580392420-28072005></SPAN></FONT> </DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
<DIV></DIV>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left><FONT
face=Tahoma size=2>-----Original Message-----<BR><B>From:</B> Scott Sugar
[mailto:ssugar@proserveit.com] <BR><B>Sent:</B> Thursday, July 28, 2005 4:07
PM<BR><B>To:</B> Ran Li;
nagios-users@lists.sourceforge.net<BR><B>Subject:</B> RE: [Nagios-users]
content on the web won't change even nagios process has been
killed<BR><BR></FONT></DIV>
<DIV id=idOWAReplyText44796 dir=ltr>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2>That doesnt seem
normal... im assuming that there are no other nagios process' once you kill
3548?</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT> </DIV>
<DIV dir=ltr><FONT face=Arial size=2>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:</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT> </DIV>
<DIV dir=ltr><FONT face=Arial size=2>Error cannot view pages, nagios may not
be running... or something like that...</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT> </DIV>
<DIV dir=ltr><FONT face=Arial size=2>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....</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT> </DIV>
<DIV dir=ltr><FONT face=Arial size=2>Anyone else have an idea?</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT> </DIV>
<DIV dir=ltr><FONT face=Arial size=2>scott</FONT></DIV></DIV>
<DIV dir=ltr><BR>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> Ran Li
[mailto:Ran.Li@sprint-canada.com]<BR><B>Sent:</B> Thu 7/28/2005 3:15
PM<BR><B>To:</B> Scott Sugar;
nagios-users@lists.sourceforge.net<BR><B>Subject:</B> RE: [Nagios-users]
content on the web won't change even nagios process has been
killed<BR></FONT><BR></DIV>
<DIV>
<DIV><SPAN class=811250319-28072005><FONT face=Arial color=#0000ff size=2>Hi
Scott and all,</FONT></SPAN></DIV>
<DIV><SPAN class=811250319-28072005><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=811250319-28072005><FONT face=Arial color=#0000ff size=2>on
the step 4, I killed the nagios process </FONT></SPAN></DIV>
<DIV><SPAN class=811250319-28072005><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=811250319-28072005><FONT face=Arial color=#0000ff
size=2>(just a sample)</FONT></SPAN></DIV>
<DIV><SPAN class=811250319-28072005><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=811250319-28072005><FONT face=Arial color=#0000ff
size=2>#ps -ef | grep nagios</FONT></SPAN></DIV>
<DIV><SPAN class=811250319-28072005><FONT face=Arial color=#0000ff
size=2>nagios 3548 31209 0 Jul27
pts/2 00:00:00 ./nagios
../etc/nagios.cfg</FONT></SPAN></DIV>
<DIV><SPAN class=811250319-28072005><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=811250319-28072005><FONT face=Arial color=#0000ff
size=2>#kill 3548</FONT></SPAN></DIV>
<DIV><SPAN class=811250319-28072005><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=811250319-28072005><FONT face=Arial color=#0000ff
size=2>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?</FONT></SPAN></DIV>
<DIV><SPAN class=811250319-28072005><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=811250319-28072005><FONT face=Arial color=#0000ff size=2>I
think I m using active check not passive one, the parameter check_freshness
is set to 0 in the configuration file.</FONT></SPAN></DIV>
<DIV><SPAN class=811250319-28072005><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=811250319-28072005><FONT face=Arial color=#0000ff
size=2>nagios server (nagios/web
interface/plugins/check_nrpe)</FONT></SPAN></DIV>
<DIV><SPAN
class=811250319-28072005> <FONT
face=Arial color=#0000ff size=2>|</FONT></SPAN></DIV>
<DIV><SPAN class=811250319-28072005><FONT face=Arial color=#0000ff
size=2> /
\</FONT></SPAN></DIV>
<DIV><SPAN class=811250319-28072005></SPAN><SPAN
class=811250319-28072005><FONT face=Arial color=#0000ff size=2>host1
host2 (nrpe/plugins)</FONT></SPAN></DIV>
<DIV><SPAN class=811250319-28072005><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=811250319-28072005><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=811250319-28072005><FONT face=Arial color=#0000ff
size=2>Thanks and regards,</FONT></SPAN></DIV>
<DIV><SPAN class=811250319-28072005><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=811250319-28072005><FONT face=Arial color=#0000ff
size=2>-tea</FONT></SPAN></DIV>
<DIV><SPAN class=811250319-28072005><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
<DIV></DIV>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left><FONT
face=Tahoma size=2>-----Original Message-----<BR><B>From:</B> Scott Sugar
[mailto:ssugar@proserveit.com] <BR><B>Sent:</B> Thursday, July 28, 2005
2:37 PM<BR><B>To:</B> Ran Li;
nagios-users@lists.sourceforge.net<BR><B>Subject:</B> RE: [Nagios-users]
content on the web won't change even nagios process has been
killed<BR><BR></FONT></DIV>
<DIV id=idOWAReplyText36370 dir=ltr>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2>Which nagios server did
you shutdown in step 4? </FONT></DIV>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2>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.</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2>Also which web interface are you
looking at?</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT> </DIV>
<DIV dir=ltr><FONT face=Arial size=2>scott</FONT></DIV></DIV>
<DIV dir=ltr><BR>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B>
nagios-users-admin@lists.sourceforge.net on behalf of Ran
Li<BR><B>Sent:</B> Thu 7/28/2005 2:45 PM<BR><B>To:</B>
nagios-users@lists.sourceforge.net<BR><B>Subject:</B> [Nagios-users]
content on the web won't change even nagios process has been
killed<BR></FONT><BR></DIV>
<DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=061462418-28072005>Hi all,</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=061462418-28072005></SPAN></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=061462418-28072005>Please advise which parameter(s) exactly
control(s) this.</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=061462418-28072005></SPAN></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=061462418-28072005>situation is</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=061462418-28072005></SPAN></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=061462418-28072005>1. after the configuration, I can monitor the
services on the local and remote hosts</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=061462418-28072005>2. when I made the changes on the
configuration, I need to restart the nagios process
</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=061462418-28072005>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</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=061462418-28072005>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.</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=061462418-28072005>5. I tried to shutdown some of the services as
well, but the content still would not be changed. </SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=061462418-28072005>6. then I started the nagios again, this time it
would refresh the status and tells the services that I shutdown are
CRITICAL/Red.</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=061462418-28072005>7. I killed the nagios process again, everything
stays the same. </SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=061462418-28072005></SPAN></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=061462418-28072005>is this configuration on the nagios or on the
apache? some place cache it?</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=061462418-28072005></SPAN></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=061462418-28072005>Thanks and regards,</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=061462418-28072005></SPAN></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=061462418-28072005>-tea</SPAN></FONT></DIV></DIV></BLOCKQUOTE></DIV></BLOCKQUOTE></BLOCKQUOTE></BODY></HTML>