<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<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:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">

<head>

<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@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","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body lang=EN-US link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>If memory serves, when I was configuring DOWNTIME I found that
if you specify the optional reason you must also specify the optional service. Could
be mistaken, of course…this is what works for me:<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>DOWNTIME=*:6:0125:0225:"reason goes here"<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Cheers.<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>

<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'>

<p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> Josh Luthman
[mailto:josh@imaginenetworksllc.com] <br>
<b>Sent:</b> Friday, May 02, 2008 1:42 AM<br>
<b>To:</b> hobbit@hswn.dk<br>
<b>Subject:</b> Re: [hobbit] Disabling alert nightly<o:p></o:p></span></p>

</div>

<p class=MsoNormal><o:p> </o:p></p>

<p class=MsoNormal style='margin-bottom:12.0pt'>Neither of these two
complained:<br>
<br>
DOWNTIME=0:0000:2359:OffSunday,6:0830:2359:OffSaturday<br>
DOWNTIME=0:0000:2359:OffSunday,1:1930:0730:nightlyoff,2:1930:0730:nightlyoff,3:1930:0730:nightlyoff,4:1930:0730:nightlyoff,5:1930:0730:nightlyoff,6:0830:2359:OffSaturday<br>
<br>
However that second one didn't disable the host, should it be as it is
obviously within that time frame?<br>
<br>
Does anyone have a working example by chance?<br>
<br>
Thanks for the suggestion, Allan!<br>
<br>
Josh<o:p></o:p></p>

<div>

<p class=MsoNormal>On Fri, May 2, 2008 at 1:38 AM, Allan Spencer <<a
href="mailto:allan@zandahar.net">allan@zandahar.net</a>> wrote:<o:p></o:p></p>

<p class=MsoNormal>The only thing I can think is the * overides/conflicts with
the individual day entries and it doesnt like this ?<br>
<br>
What if you leave it with just the Saturday and Sunday Entries ?<br>
<br>
Allan<br>
<br>
<br>
Josh Luthman wrote:<o:p></o:p></p>

<div>

<p class=MsoNormal style='margin-bottom:12.0pt'>I am having some issues with
this one...<br>
DOWNTIME=*:1930:0730:nightlyoff,6:0830:2359:OffSaturday,0:0000:2359:OffSunday<br>
<br>
Info page says:<br>
All days:1930:0730:nightlyoff, Sat:0830:2359:OffSaturday, Sun:0000:2359:OffSunday<br>
<br>
But hobbitd is complaining:<br>
Latest errormessages:<br>
Bad timespec (missing colon or wrong weekdays): 1930:0730:nightlyoff<br>
Is there something wrong with the *?<o:p></o:p></p>

</div>

<div>

<p class=MsoNormal>On Thu, May 1, 2008 at 11:11 AM, Josh Luthman <<a
href="mailto:josh@imaginenetworksllc.com" target="_blank">josh@imaginenetworksllc.com</a>
<mailto:<a href="mailto:josh@imaginenetworksllc.com" target="_blank">josh@imaginenetworksllc.com</a>>>
wrote:<br>
<br>
   Thanks again!<br>
<br>
 
 DOWNTIME=*:1930:0730:nightlyoff,5:0000:2359:OffSaturday,6:0000:2359:OffSunday<br>
<br>
   6:0000:2359:OffSunday <--that is my only question before I try
it<br>
   - shouldn't it be 6 for Sunday and 5 for Saturday?<br>
<br>
   Josh<br>
<br>
<br>
   On Thu, May 1, 2008 at 10:44 AM, L.M.J <<a
href="mailto:linuxmasterjedi@free.fr" target="_blank">linuxmasterjedi@free.fr</a><o:p></o:p></p>

</div>

<div>

<p class=MsoNormal>   <mailto:<a
href="mailto:linuxmasterjedi@free.fr" target="_blank">linuxmasterjedi@free.fr</a>>>
wrote:<br>
<br>
       Hi again,<br>
<br>
<br>
       Le Thu, 1 May 2008 09:27:19 -0400,<br>
       "Josh Luthman" <<a
href="mailto:josh@imaginenetworksllc.com" target="_blank">josh@imaginenetworksllc.com</a><o:p></o:p></p>

</div>

<p class=MsoNormal>       <mailto:<a
href="mailto:josh@imaginenetworksllc.com" target="_blank">josh@imaginenetworksllc.com</a>>>
a écrit :<o:p></o:p></p>

<div>

<p class=MsoNormal><br>
<br>
       > LMJ,<br>
       ><br>
       > Excellent! That answers half my question - but
now I need to<br>
       disable it all<br>
       > day on the weekends; can you have two time
frames in one<br>
       downtime statement?<br>
       ><br>
       > Josh<br>
       ><br>
       > On Thu, May 1, 2008 at 4:49 AM, L.M.J<o:p></o:p></p>

</div>

<div>

<p class=MsoNormal>       <<a
href="mailto:linuxmasterjedi@free.fr" target="_blank">linuxmasterjedi@free.fr</a>
<mailto:<a href="mailto:linuxmasterjedi@free.fr" target="_blank">linuxmasterjedi@free.fr</a>>>
wrote:<br>
       ><br>
       > > Hi Josh<br>
       > ><br>
       > > Le Thu, 1 May 2008 00:44:04 -0400,<br>
       > > "Josh Luthman" <<a
href="mailto:josh@imaginenetworksllc.com" target="_blank">josh@imaginenetworksllc.com</a><o:p></o:p></p>

</div>

<p class=MsoNormal>       <mailto:<a
href="mailto:josh@imaginenetworksllc.com" target="_blank">josh@imaginenetworksllc.com</a>>>
a écrit :<o:p></o:p></p>

<div>

<div>

<p class=MsoNormal><br>
       > ><br>
       > > > I have a device that shuts down at
7:30pm and comes back<br>
       up at 7:30am. What<br>
       > > > is the best way to disable this host
every single night?<br>
       > > > I would like it to be marked as
disabled during this<br>
       time, but I definitely<br>
       > > > do not want the bb.html, bb2.html and
bb.wml showing up<br>
       red - red is bad!  I<br>
       > > > also need it to stop sending email
alerts.<br>
       > > ><br>
       > > > Would DOWNTIME= be what am I looking
for?  If so can<br>
       someone explain how the<br>
       > > ><br>
       day:starttime:endtime:cause[,day:starttime:endtime:cause]
gets<br>
       filled it?<br>
       > > ><br>
       > > > I need it to be every weekday in the
evenings and nights<br>
       as well as every weekend.<br>
       > ><br>
       > > I had almost the same issue : do not
display databases<br>
       connection errors during the night backup, here we<br>
       > > go :<br>
       > ><br>
       > >  ip.ip.ip.ip   name  
 # conn foo bar    NAME:"Nice Name"<br>
       DOWNTIME=*:1930:0730:MyReason<br>
       > ><br>
       > >  That's it ;)<br>
<br>
       Test this :<br>
       DOWNTIME=*:1930:0730:MyReason,5:0000:2359:OffSaturday,5:0000:2359:OffSunday<br>
<br>
       What do you think about this one ? ;)<br>
<br>
<br>
<br>
<br>
   --    Josh Luthman<br>
   Office: 937-552-2340<br>
   Direct: 937-552-2343<br>
   1100 Wayne St<br>
   Suite 1337<br>
   Troy, OH 45373<br>
<br>
   Those who don't understand UNIX are condemned to reinvent it,
poorly.<br>
   --- Henry Spencer<br>
<br>
<br>
<br>
<br>
-- <br>
Josh Luthman<br>
Office: 937-552-2340<br>
Direct: 937-552-2343<br>
1100 Wayne St<br>
Suite 1337<br>
Troy, OH 45373<br>
<br>
Those who don't understand UNIX are condemned to reinvent it, poorly.<br>
--- Henry Spencer <o:p></o:p></p>

</div>

</div>

<p class=MsoNormal style='margin-bottom:12.0pt'><br>
<br>
To unsubscribe from the hobbit list, send an e-mail to<br>
<a href="mailto:hobbit-unsubscribe@hswn.dk" target="_blank">hobbit-unsubscribe@hswn.dk</a><br>
<br>
<o:p></o:p></p>

</div>

<p class=MsoNormal><br>
<br clear=all>
<br>
-- <br>
Josh Luthman<br>
Office: 937-552-2340<br>
Direct: 937-552-2343<br>
1100 Wayne St<br>
Suite 1337<br>
Troy, OH 45373<br>
<br>
Those who don't understand UNIX are condemned to reinvent it, poorly.<br>
--- Henry Spencer <o:p></o:p></p>

</div>

</body>

</html>