<!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.1400" name=GENERATOR>
<STYLE>@page Section1 {size: 8.5in 11.0in; margin: 1.0in 1.25in 1.0in 1.25in; }
P.MsoNormal {
FONT-SIZE: 10pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"
}
LI.MsoNormal {
FONT-SIZE: 10pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"
}
DIV.MsoNormal {
FONT-SIZE: 10pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"
}
A:link {
COLOR: blue; TEXT-DECORATION: underline
}
SPAN.MsoHyperlink {
COLOR: blue; TEXT-DECORATION: underline
}
A:visited {
COLOR: purple; TEXT-DECORATION: underline
}
SPAN.MsoHyperlinkFollowed {
COLOR: purple; TEXT-DECORATION: underline
}
SPAN.EmailStyle17 {
COLOR: windowtext; FONT-FAMILY: Arial
}
DIV.Section1 {
page: Section1
}
</STYLE>
</HEAD>
<BODY lang=EN-US vLink=purple link=blue>
<DIV><FONT face=Arial size=2><SPAN class=203440802-23032004>Yes, you should set
the "<STRONG>check_period</STRONG>" parameter in your <EM>services.cfg</EM> to
"<STRONG>workhours</STRONG>", which is defined as 9am to 5pm in your
<EM>timeperiods.cfg</EM>. And while you are at it, you might as well change your
"<STRONG>notification_period</STRONG>" to "<STRONG>workhours</STRONG>" as
well.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=203440802-23032004></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN
class=203440802-23032004>cheers!</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=203440802-23032004>
<DIV align=left><FONT face=Arial color=#000000 size=2>Joshua M
Smith</FONT></DIV>
<DIV align=left><FONT face=Arial color=#000000 size=2>Jr. Network
Administrator</FONT></DIV>
<DIV align=left><FONT face=Arial color=#000000 size=2>Globe Int Ltd</FONT></DIV>
<DIV align=left><FONT face=Arial color=#000000 size=2>Phone:
310-297-1640</FONT></DIV>
<DIV align=left><FONT face=Arial size=2><FONT color=#000000>Email : </FONT><A
href="mailto:Joshua.Smith@globeshoes.com"><FONT
color=#000000>Joshua.Smith@globeshoes.com</FONT></A></FONT></DIV>
<DIV align=left><FONT face=Wingdings color=#000000 size=2>s s s s s
s</FONT></DIV>
<DIV align=left><FONT face=Arial color=#808080 size=2>Globe Int Ltd</FONT></DIV>
<DIV align=left><FONT face=Arial color=#808080 size=2>225 S.
Aviation</FONT></DIV>
<DIV align=left><FONT face=Arial color=#808080 size=2>El Segundo, CA
90245</FONT></DIV>
<DIV align=left><FONT face=Arial color=#808080 size=2>310.297.1600</FONT></DIV>
<DIV align=left><FONT face=Arial size=2></FONT> </DIV></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>
nagios-users-admin@lists.sourceforge.net
[mailto:nagios-users-admin@lists.sourceforge.net] <B>On Behalf Of </B>Jack
Doyle<BR><B>Sent:</B> Monday, March 22, 2004 1:02 PM<BR><B>To:</B>
nagios-users@lists.sourceforge.net<BR><B>Subject:</B> RE: [Nagios-users]
freshness checking of passive devices<BR><BR></FONT></DIV>
<DIV><SPAN class=211180121-22032004><FONT face=Arial color=#0000ff size=2>I
don't use any passive checking, so forgive me if I'm wrong.. but can't you set
the time period on the services to be that of when you want them
checked?</FONT></SPAN></DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV align=left><FONT face=Arial size=2>-----</FONT></DIV>
<DIV align=left><FONT face=Arial size=2><STRONG>John N. Doyle</STRONG>,
Network+ Certified Professional</FONT></DIV>
<DIV align=left><FONT face=Arial size=2>Systems Operations
Specialist</FONT></DIV>
<DIV align=left><FONT face=Arial size=2>Lewis-Gale Clinic Information
Systems</FONT></DIV>
<DIV align=left><FONT face=Arial size=2></FONT> </DIV>
<DIV align=left><FONT face=Arial size=2>540.772.3669</FONT></DIV>
<DIV align=left><FONT face=Arial size=2></FONT> </DIV>
<DIV align=left>
<DIV align=left><FONT face=Arial size=2>>PGP Key Available: <A
href="http://68.106.83.67:8082/pgp.txt">http://68.106.83.67:8082/pgp.txt</A></FONT></DIV></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> David Barnett
[mailto:DavidB@etobin.com] <BR><B>Sent:</B> Monday, March 22, 2004 3:58
PM<BR><B>To:</B> nagios-users@lists.sourceforge.net<BR><B>Subject:</B>
[Nagios-users] freshness checking of passive devices<BR><BR></FONT></DIV>
<DIV class=Section1>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">I am using Nagios to monitor
some workstations that are active from 9 to 5 but shut down otherwise.
I am monitoring these workstations passively using the NSCA add-on and I
check the freshness by having a check command like in the
documentation. However, when the workstations shut down at 5, the
passive checks stop coming, as they should. After 30 minutes of no
passive checks, Nagios runs the active check of check_freshness.sh, and
reports the services as critical because they haven’t checked in for 30
minutes. I don’t want it to run this check because the device should
be off. Also, when the workstations start up in the morning and check
in, I get notifications saying the services have recovered, when in reality
they never really went down in the first place. Is there way to not
have it run the active check after a certain time? Or in the script is
there a way to check the current time and not return anything if it isn’t
between 9 and 5? Thanks for any help.</SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"></SPAN></FONT> </P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">David</SPAN></FONT></P></DIV></BLOCKQUOTE></BLOCKQUOTE><!--[object_id=#etobin.com#]--></BODY></HTML>