<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>Message</TITLE>
<META content="MSHTML 6.00.2800.1498" name=GENERATOR></HEAD>
<BODY>
<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></BODY></HTML>