Strange...I am going to try out:<br><br>DOWNTIME=0:0000:2359:OffSunday,W:1930:0730:nightlyoff,6:0830:2359:OffSaturday<br><br>tonight as Henrik suggested (which to my understand is just a shorter version).  The host in question is definitely down between those times and was down this morning at 2AM when I was watching it.  Thing still wouldn't go blue, hmm...<br>
<br>Thanks for the help guys, I'll let you know what happens probably on Sunday.<br><br><div class="gmail_quote">On Fri, May 2, 2008 at 9:29 AM, Dugan, Darin D [EIT] <<a href="mailto:dddugan@iastate.edu">dddugan@iastate.edu</a>> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">









<div link="blue" vlink="purple" lang="EN-US">

<div>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">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:</span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">DOWNTIME=*:6:0125:0225:"reason goes here"</span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">Cheers.</span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>

<div style="border-style: solid none none; border-color: rgb(181, 196, 223) -moz-use-text-color -moz-use-text-color; border-width: 1pt medium medium; padding: 3pt 0in 0in;">

<p><b><span style="font-size: 10pt;">From:</span></b><span style="font-size: 10pt;"> Josh Luthman
[mailto:<a href="mailto:josh@imaginenetworksllc.com" target="_blank">josh@imaginenetworksllc.com</a>] <br>
<b>Sent:</b> Friday, May 02, 2008 1:42 AM<br>
<b>To:</b> <a href="mailto:hobbit@hswn.dk" target="_blank">hobbit@hswn.dk</a><br>
<b>Subject:</b> Re: [hobbit] Disabling alert nightly</span></p>

</div><div><div></div><div class="Wj3C7c">

<p> </p>

<p style="margin-bottom: 12pt;">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</p>

<div>

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

<p>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:</p>

<div>

<p style="margin-bottom: 12pt;">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 *?</p>

</div>

<div>

<p>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></p>

</div>

<div>

<p>   <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></p>

</div>

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

<div>

<p><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</p>

</div>

<div>

<p>       <<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></p>

</div>

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

<div>

<div>

<p><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 </p>

</div>

</div>

<p style="margin-bottom: 12pt;"><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>
</p>

</div>

<p><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 </p>

</div></div></div>

</div>


</blockquote></div><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