<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Awesome!<div><br></div><div>I will try the downtime, that actually may be a better solution.<br><div><br></div><div>OK, the example here in the hobbit-alerts.html page.</div><div><br></div><div><p><a name="ignorerules">A common scenario is where you handle most of the alerts with a wildcard rule, but
there is <i>just</i> that one exception where you dont want any cpu alerts
from the marketing server on Thursday afternoon. Then it is time for the 
IGNORE recipient:<br>
</a></p><pre><a name="ignorerules">   HOST=* COLOR=red
                IGNORE HOST=marketing.foo.com SERVICE=cpu TIME=4:1500:1800
                MAIL admin@foo.com
</a></pre><div><br></div><div>Thursday=4, so really this should be 5 ;)</div><div><br></div><div>I will try 0 and if it does not work then you guys owe me some beer ;)</div><div><br></div><div>Cheers!</div><div><br></div><div>Lee</div><div><br></div><div><br></div></div><div><br><div>
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div><b>Lee J. Imber</b></div><div><i>Systems Engineer</i></div><div><b style="font-weight: bold; ">Glance Networks</b></div><div>1167 Massachusetts Ave.</div><div>Arlington, MA USA 02476</div><div><a href="http://www.glance.net/">www.glance.net</a></div><div><a href="mailto:carla@glance.net">lee@glance.net</a></div><div><font class="Apple-style-span" face="Arial" size="3"><span class="Apple-style-span" style="font-size: 13px; "><i><span class="Apple-style-span" style="font-family: Helvetica; font-size: 12px; font-style: normal; "><div><br class="khtml-block-placeholder"></div><div><font class="Apple-style-span" size="4"><span class="Apple-style-span" style="font-size: 13px; "><font class="Apple-style-span" face="Arial"><i style="font-family: Arial; font-size: 13.3px; font-style: italic; ">Network World</i></font></span></font><font class="Apple-style-span" size="4"><span class="Apple-style-span" style="font-size: 13px; "><font class="Apple-style-span" face="Arial"><i style="font-family: Arial; font-size: 13.3px; font-style: italic; "> says Glance is </i></font></span></font></div><div><font class="Apple-style-span" size="4"><span class="Apple-style-span" style="font-size: 13px; "><font class="Apple-style-span" face="Arial"><i style="font-family: Arial; font-size: 13.3px; font-style: italic; ">"the fastest way for 100 people</i></font></span></font></div><div><font class="Apple-style-span" size="4"><span class="Apple-style-span" style="font-size: 13px; "><font class="Apple-style-span" face="Arial"><i style="font-family: Arial; font-size: 13.3px; font-style: italic; ">to view your screen."<a href="http://rs6.net/tn.jsp?t=djx8lhcab.0.0.vzm78ibab.0&p=http%3A%2F%2Fwww.networkworld.com%2Fvideo%2F090407ct-glance.html"><font class="Apple-style-span" color="#001DE0"></font></a></i></font></span></font></div><div><span><i style="color: rgb(0, 0, 255); font-style: italic; -webkit-text-decorations-in-effect: underline; "><a href="http://www.glance.net/redirect.asp?psrc=ref_email_carla&id=networldvideo07">Watch their video review</a></i></span></div></span></i></span></font></div></div></div></span><br class="Apple-interchange-newline"></span><br class="Apple-interchange-newline">
</div>
<br><div><div>On Dec 29, 2009, at 5:00 PM, Patrick Nixon wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>Lee,<br> I did something similar, but instead of doing an ignore on the alert,<br>I put the server into a downtime for the window.<br><br>DOWNTIME=cam:60:0000:2400:Offline2,cam:W:1930:0830:Offline<br><br>The first one puts service cam into downtime all day saturday and<br>sunday, and the second does it all Weekdays 730p to 830a<br><br>Hope that helps and thanks for the link in your email, I'm checking<br>out Glance now :)<br><br>--Patrick<br><br>On Tue, Dec 29, 2009 at 1:24 PM, Lee J. Imber <<a href="mailto:Lee@glance.net">Lee@glance.net</a>> wrote:<br><blockquote type="cite">Greetings all,<br></blockquote><blockquote type="cite">I have been trying to figure this out and I think I am missing something<br></blockquote><blockquote type="cite">real obvious.<br></blockquote><blockquote type="cite">I am trying to ignore an event when a series of servers do some backups and<br></blockquote><blockquote type="cite">the http test gets triggered for a second Sunday Morning at 3:35AM or<br></blockquote><blockquote type="cite">0835UTC.<br></blockquote><blockquote type="cite">Here is the rule in hobbit-alerts.cfg<br></blockquote><blockquote type="cite">HOST=S1,S2,S3,S4 COLOR=red SERVICE=http<br></blockquote><blockquote type="cite">        IGNORE HOST=S1,S2,S3,S4 SERVICE=http TIME=7:0830:0845<br></blockquote><blockquote type="cite">But I get still get paged.<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Here is what I get when I run:<br></blockquote><blockquote type="cite">./bin/bbcmd hobbitd_alert --test S1 http<br></blockquote><blockquote type="cite">00052836 2009-12-29 18:02:45 Matching host:service:page 'S1:http:' against<br></blockquote><blockquote type="cite">rule line 81<br></blockquote><blockquote type="cite">2009-12-29 18:02:45 Bad timespec (missing colon or wrong weekdays):<br></blockquote><blockquote type="cite">7:0830:0845<br></blockquote><blockquote type="cite">00052836 2009-12-29 18:02:45 Failed 'IGNORE HOST=S1,S2,S3,S4 SERVICE=http<br></blockquote><blockquote type="cite">TIME=7:0830:0845' (time criteria)<br></blockquote><blockquote type="cite">In the hobbit manual there is an example that shows a similar rule set for<br></blockquote><blockquote type="cite">Thursday using day 4:0000:0000 so I believe Sunday should be day 7?<br></blockquote><blockquote type="cite">If I change the day to 6 I don't get that error in the --test output.<br></blockquote><blockquote type="cite">Thanks and HNY!<br></blockquote><blockquote type="cite">Lee J. Imber<br></blockquote><blockquote type="cite">Systems Engineer<br></blockquote><blockquote type="cite">Glance Networks<br></blockquote><blockquote type="cite">1167 Massachusetts Ave.<br></blockquote><blockquote type="cite">Arlington, MA USA 02476<br></blockquote><blockquote type="cite"><a href="http://www.glance.net">www.glance.net</a><br></blockquote><blockquote type="cite"><a href="mailto:lee@glance.net">lee@glance.net</a><br></blockquote><blockquote type="cite">Network World says Glance is<br></blockquote><blockquote type="cite">"the fastest way for 100 people<br></blockquote><blockquote type="cite">to view your screen."<br></blockquote><blockquote type="cite">Watch their video review<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><br>To unsubscribe from the hobbit list, send an e-mail to<br><a href="mailto:hobbit-unsubscribe@hswn.dk">hobbit-unsubscribe@hswn.dk</a><br><br><br></div></blockquote></div><br></div></div></body></html>