<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:st1="urn:schemas-microsoft-com:office:smarttags" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]--><o:SmartTagType
namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="PostalCode"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
name="State"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
name="Street"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
name="City"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
name="place"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
name="address"/>
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
/* Font Definitions */
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman";}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{color:blue;
text-decoration:underline;}
p
{mso-margin-top-alt:auto;
margin-right:0in;
mso-margin-bottom-alt:auto;
margin-left:0in;
font-size:12.0pt;
font-family:"Times New Roman";}
span.EmailStyle20
{mso-style-type:personal-reply;
font-family:Arial;
color:navy;}
@page Section1
{size:8.5in 11.0in;
margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
{page:Section1;}
-->
</style>
</head>
<body lang=EN-US link=blue vlink=blue>
<div class=Section1>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>I don’t know that Nagios will treat
that right. I think you need to specify a time between 00:00 and 23:59. I would
try </span></font>00:00-00:59,04:00-23:59 instead of 04:00-01:00<font size=2
color=navy face=Arial><span style='font-size:10.0pt;font-family:Arial;
color:navy'><o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Tal<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<div>
<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>
<hr size=2 width="100%" align=center tabindex=-1>
</span></font></div>
<p class=MsoNormal><b><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>From:</span></font></b><font size=2
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'>
nagios-users-bounces@lists.sourceforge.net
[mailto:nagios-users-bounces@lists.sourceforge.net] <b><span style='font-weight:
bold'>On Behalf Of </span></b>Jerad Riggin<br>
<b><span style='font-weight:bold'>Sent:</span></b> Friday, November 02, 2007
3:05 PM<br>
<b><span style='font-weight:bold'>To:</span></b> Larry Low<br>
<b><span style='font-weight:bold'>Cc:</span></b>
nagios-users@lists.sourceforge.net<br>
<b><span style='font-weight:bold'>Subject:</span></b> Re: [Nagios-users]
Downtime scheduling</span></font><o:p></o:p></p>
</div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>
<p class=MsoNormal style='margin-bottom:12.0pt'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>Thanks for the
reply. Here is what I did..<br>
<br>
<br>
define timeperiod{<br>
timeperiod_name maintenance<br>
alias Maintenance
period<br>
sunday
04:00-01:00<br>
monday 04:00-01:00 <br>
tuesday 04:00-01:00<br>
wednesday 04:00-01:00<br>
thursday 04:00-01:00<br>
friday 04:00-01:00<br>
saturday 04:00-01:00<br>
}<br>
<br>
And on the host check template I put maintenance in as the notification/check
schedule. Will this work? <br>
<br>
<o:p></o:p></span></font></p>
<div>
<p class=MsoNormal><span class=gmailquote><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'>On 11/2/07, <b><span style='font-weight:bold'>Larry
Low</span></b> <<a href="mailto:llow@telesphere.com">llow@telesphere.com</a>>
wrote:</span></font></span><o:p></o:p></p>
<div link=blue vlink=purple>
<div>
<p><font size=2 face="Times New Roman"><span style='font-size:11.0pt'>Timeperiods
is the best idea. You can either use the notification_period or
check_period depending on your end needs.</span></font><o:p></o:p></p>
<p><font size=2 face="Times New Roman"><span style='font-size:11.0pt'> </span></font><o:p></o:p></p>
<p><font size=2 face="Times New Roman"><span style='font-size:11.0pt'>----</span></font><o:p></o:p></p>
<p><font size=2 face="Times New Roman"><span style='font-size:11.0pt'>Larry Low</span></font><o:p></o:p></p>
<p><st1:Street w:st="on"><st1:address w:st="on"><font size=2
face="Times New Roman"><span style='font-size:11.0pt'>4150 N Drinkwater Blvd.</span></font></st1:address></st1:Street><font
size=2><span style='font-size:11.0pt'>, 5th Floor</span></font><o:p></o:p></p>
<p><st1:place w:st="on"><st1:City w:st="on"><font size=2 face="Times New Roman"><span
style='font-size:11.0pt'>Scottsdale</span></font></st1:City><font size=2><span
style='font-size:11.0pt'>, <st1:State w:st="on">AZ</st1:State> <st1:PostalCode
w:st="on">85251</st1:PostalCode></span></font></st1:place><o:p></o:p></p>
<p><font size=2 face="Times New Roman"><span style='font-size:11.0pt'>Office:
480.385.7045</span></font><o:p></o:p></p>
<p><font size=2 face="Times New Roman"><span style='font-size:11.0pt'>E-mail: <a
href="mailto:llow@telesphere.com" target="_blank">llow@telesphere.com</a>'</span></font><o:p></o:p></p>
<p><font size=2 face="Times New Roman"><span style='font-size:11.0pt'> </span></font><o:p></o:p></p>
<p><font size=2 face="Times New Roman"><span style='font-size:11.0pt'>Telesphere
Networks, Inc</span></font><o:p></o:p></p>
<p><font size=2 face="Times New Roman"><span style='font-size:11.0pt'> </span></font><o:p></o:p></p>
<div style='border:none;border-left:solid windowtext 1.5pt;padding:0in 0in 0in 4.0pt;
border-color:-moz-use-text-color -moz-use-text-color -moz-use-text-color blue'>
<div>
<div style='border:none;border-top:solid windowtext 1.0pt;padding:3.0pt 0in 0in 0in;
border-color:-moz-use-text-color -moz-use-text-color'>
<p><b><font size=2 face="Times New Roman"><span style='font-size:10.0pt;
font-weight:bold'>From:</span></font></b><font size=2><span style='font-size:
10.0pt'> <a href="mailto:nagios-users-bounces@lists.sourceforge.net"
target="_blank">nagios-users-bounces@lists.sourceforge.net</a> [mailto:<a
href="mailto:nagios-users-bounces@lists.sourceforge.net" target="_blank">nagios-users-bounces@lists.sourceforge.net</a>]
<b><span style='font-weight:bold'>On Behalf Of </span></b>Jerad Riggin<br>
<b><span style='font-weight:bold'>Sent:</span></b> Friday, November 02, 2007
11:59 AM<br>
<b><span style='font-weight:bold'>To:</span></b> <a
href="mailto:nagios-users@lists.sourceforge.net" target="_blank">nagios-users@lists.sourceforge.net</a><br>
<b><span style='font-weight:bold'>Subject:</span></b> [Nagios-users] Downtime
scheduling</span></font><o:p></o:p></p>
</div>
</div>
<p><font size=3 face="Times New Roman"><span style='font-size:12.0pt'> <o:p></o:p></span></font></p>
<p><font size=3 face="Times New Roman"><span style='font-size:12.0pt'>What is
the best way to allow for a 1-4AM outage on a few hosts? A cron job that
will schedule it every night, or through time periods? <o:p></o:p></span></font></p>
</div>
</div>
</div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><br>
-------------------------------------------------------------------------<br>
This SF.net email is sponsored by: Splunk Inc.<br>
Still grepping through log files to find problems? Stop.<br>
Now Search log events and configuration files using <st1:City w:st="on"><st1:place
w:st="on">AJAX</st1:place></st1:City> and a browser. <br>
Download your FREE copy of Splunk now >> <a href="http://get.splunk.com/"
target="_blank">http://get.splunk.com/</a><br>
_______________________________________________ <br>
Nagios-users mailing list<br>
<a href="mailto:Nagios-users@lists.sourceforge.net">Nagios-users@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/nagios-users"
target="_blank">https://lists.sourceforge.net/lists/listinfo/nagios-users</a><br>
::: Please include Nagios version, plugin version (-v) and OS when reporting
any issue.<br>
::: Messages without supporting info will risk being sent to /dev/null <o:p></o:p></span></font></p>
</div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>
</div>
</body>
</html>