<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.6000.16762" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=841105117-18122008><FONT face=Arial 
color=#0000ff size=2>Since I'm using the * the time stamp wraps around. 
</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=841105117-18122008><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=841105117-18122008><FONT face=Arial 
color=#0000ff size=2>It just worked, the way I wanted it. I forced a red 
condition during a ignore time window, and I got the email during the window, 
after the window expired,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=841105117-18122008><FONT face=Arial 
color=#0000ff size=2>the page came through. </FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=841105117-18122008><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=841105117-18122008><FONT face=Arial 
color=#0000ff size=2>Looks like other emails said your format was wrong. Someone 
had the format DAY:SERVICE:START:END:COMMENT. </FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=841105117-18122008><FONT face=Arial 
color=#0000ff size=2>That doesn't match up with the web page man pages. 
</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=841105117-18122008><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=841105117-18122008><FONT face=Arial 
color=#0000ff size=2>What I have down here worked 1 hour ago on Xymon 4.2.2 
compiled on Solaris 10 8/07 in a zone.</FONT></SPAN></DIV>
<DIV> </DIV><!-- Converted from text/plain format -->
<P><FONT size=2>Paul Root         IM/MNS 
Infrastructure    </FONT></P>
<DIV> </DIV><BR>
<BLOCKQUOTE style="MARGIN-RIGHT: 0px">
  <DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
  <HR tabIndex=-1>
  <FONT face=Tahoma size=2><B>From:</B> Josh Luthman 
  [mailto:josh@imaginenetworksllc.com] <BR><B>Sent:</B> Thursday, December 18, 
  2008 11:43 AM<BR><B>To:</B> hobbit@hswn.dk<BR><B>Subject:</B> Re: [hobbit] 
  Downtime tag syntax<BR></FONT><BR></DIV>
  <DIV></DIV>
  <DIV dir=ltr align=left><SPAN><FONT face=Arial color=#0000ff 
  size=2>>HOST=%$HG-VSNL COLOR=red,purple DURATION>7 
  TIME=*:1100:1030<BR>        MAIL 
  $NG-IM-ADMIN<BR>        MAIL $NG-IM-ONCALL 
  FORMAT=SMS<BR></FONT></SPAN></DIV>
  <DIV dir=ltr align=left><SPAN><FONT face=Arial color=#0000ff size=2>So send 
  alerts from 11:00 am to 10:30 am every day.<BR><BR></FONT></SPAN>Isn't this 
  kind of like dividing by zero?  How does this actually work, does it 
  cover all day except that half hour window?<SPAN><FONT face=Arial 
  color=#0000ff size=2><BR></FONT></SPAN></DIV><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>
  <DIV class=gmail_quote>On Thu, Dec 18, 2008 at 12:36 PM, Root, Paul <SPAN 
  dir=ltr><<A 
  href="mailto:Paul.Root@qwest.com">Paul.Root@qwest.com</A>></SPAN> 
wrote:<BR>
  <BLOCKQUOTE class=gmail_quote 
  style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">
    <DIV lang=EN-CA link="blue" vlink="purple">
    <DIV dir=ltr align=left><SPAN><FONT face=Arial color=#0000ff size=2>I'm 
    getting close.</FONT></SPAN></DIV>
    <DIV dir=ltr align=left><SPAN><FONT face=Arial color=#0000ff 
    size=2></FONT></SPAN> </DIV>
    <DIV dir=ltr align=left><SPAN><FONT face=Arial color=#0000ff 
    size=2></FONT></SPAN> </DIV>
    <DIV dir=ltr align=left><SPAN><FONT face=Arial color=#0000ff size=2>What 
    just worked for me in hobbit-alerts.cfg, was:</FONT></SPAN></DIV>
    <DIV dir=ltr align=left><SPAN><FONT face=Arial color=#0000ff 
    size=2></FONT></SPAN> </DIV>
    <DIV dir=ltr align=left><SPAN><FONT face=Arial color=#0000ff 
    size=2>HOST=%$HG-VSNL COLOR=red,purple DURATION>7 
    TIME=*:1100:1030<BR>        MAIL 
    $NG-IM-ADMIN<BR>        MAIL 
    $NG-IM-ONCALL FORMAT=SMS<BR></FONT></SPAN></DIV>
    <DIV dir=ltr align=left><SPAN><FONT face=Arial color=#0000ff size=2>So send 
    alerts from 11:00 am to 10:30 am every day.</FONT></SPAN></DIV>
    <DIV dir=ltr align=left><SPAN><FONT face=Arial color=#0000ff 
    size=2></FONT></SPAN> </DIV>
    <DIV dir=ltr align=left><SPAN><FONT face=Arial color=#0000ff 
    size=2></FONT></SPAN> </DIV>
    <DIV dir=ltr align=left><SPAN><FONT face=Arial color=#0000ff 
    size=2></FONT></SPAN> </DIV>
    <DIV dir=ltr align=left><SPAN><FONT face=Arial color=#0000ff 
    size=2></FONT></SPAN> </DIV>
    <DIV dir=ltr align=left><SPAN><FONT face=Arial color=#0000ff size=2>What I'm 
    trying right now is:</FONT></SPAN></DIV>
    <DIV dir=ltr align=left><SPAN><FONT face=Arial color=#0000ff 
    size=2></FONT></SPAN> </DIV>
    <DIV dir=ltr align=left><SPAN><FONT face=Arial color=#0000ff 
    size=2>HOST=%$HG-VSNL COLOR=red,purple 
    DURATION>7<BR>        MAIL 
    $NG-IM-ADMIN<BR>        IGNORE 
    SERVICE=procs TIME=*:1110:1130<BR>        
    MAIL $NG-IM-ONCALL FORMAT=SMS<BR></FONT></SPAN></DIV>
    <DIV dir=ltr align=left><SPAN><FONT face=Arial color=#0000ff 
    size=2></FONT></SPAN> </DIV>
    <DIV dir=ltr align=left><SPAN><FONT face=Arial color=#0000ff size=2>So the 
    email would come, but the page wouldn't happen, and only on procsm between 
    11:10 and 11:30 am. </FONT></SPAN></DIV>
    <DIV dir=ltr align=left><FONT face=Arial><FONT size=2><FONT 
    color=#0000ff><SPAN>I've had trouble with this, but that was when the 
    machine was in a large group, so I'm splitting it to it's own group (with 
    it's backup server).</SPAN><SPAN></SPAN></FONT></FONT></FONT></DIV>
    <DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
    <DIV><SPAN><FONT face=Arial color=#0000ff size=2>The former should work for 
    you. It should look like:</FONT></SPAN></DIV>
    <DIV><SPAN><FONT face=Arial color=#0000ff size=2></FONT></SPAN> </DIV>
    <DIV><SPAN><FONT face=Arial color=#0000ff size=2>HOST=<HOSTNAME> 
    SERVICE=cpu,mysql COLOR=red DURATION>7 
    TIME=*:1800:1900</FONT></SPAN></DIV>
    <DIV><SPAN>    <FONT face=Arial color=#0000ff size=2>MAIL 
    <WHEREVER> FORMAT=SMS</FONT></SPAN></DIV>
    <DIV><SPAN><FONT face=Arial color=#0000ff size=2></FONT></SPAN> </DIV>
    <DIV><SPAN><FONT face=Arial color=#0000ff size=2>Test it 
    with</FONT></SPAN></DIV>
    <DIV><SPAN><FONT face=Arial color=#0000ff size=2></FONT></SPAN> </DIV>
    <DIV><SPAN><FONT face=Arial color=#0000ff size=2>bbcmd hobbitd_alert --test 
    <HOSTNAME> cpu --duration=8 time=1229646890</FONT></SPAN></DIV>
    <DIV><SPAN><FONT face=Arial color=#0000ff size=2></FONT></SPAN> </DIV>
    <DIV><SPAN><FONT face=Arial color=#0000ff size=2></FONT></SPAN> </DIV>
    <DIV><SPAN><FONT face=Arial color=#0000ff size=2>the time value is in 
    epochtime. That number is seconds. It's roughly 6:30 pm 
    CST.</FONT></SPAN></DIV>
    <DIV class=Ih2E3d>
    <DIV><SPAN></SPAN> </DIV>
    <P><FONT size=2>Paul Root         
    IM/MNS Infrastructure    </FONT></P>
    <DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV><FONT 
    size=2></FONT><BR></DIV>
    <BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
      <DIV lang=en-us dir=ltr align=left>
      <HR>
      <FONT face=Tahoma size=2>
      <DIV class=Ih2E3d><B>From:</B> Jason Chambers [mailto:<A 
      href="mailto:Jason.Chambers@geosoft.com" 
      target=_blank>Jason.Chambers@geosoft.com</A>] <BR></DIV><B>Sent:</B> 
      Thursday, December 18, 2008 11:11 AM
      <DIV>
      <DIV></DIV>
      <DIV class=Wj3C7c><BR><B>To:</B> '<A href="mailto:hobbit@hswn.dk" 
      target=_blank>hobbit@hswn.dk</A>'<BR><B>Subject:</B> RE: [hobbit] Downtime 
      tag syntax<BR></DIV></DIV></FONT><BR></DIV>
      <DIV>
      <DIV></DIV>
      <DIV class=Wj3C7c>
      <DIV></DIV>
      <DIV>
      <P><SPAN style="COLOR: rgb(31,73,125)">Argh!</SPAN></P>
      <P><SPAN style="COLOR: rgb(31,73,125)"></SPAN> </P>
      <P><SPAN style="COLOR: rgb(31,73,125)">I don't want to answer my PDA every 
      night at 6pm because of a stupid backup job overloading the CPU and DB. 
      </SPAN><SPAN 
      style="COLOR: rgb(31,73,125); FONT-FAMILY: Wingdings">L</SPAN><SPAN 
      style="COLOR: rgb(31,73,125)"> There has to be a way to get this to 
      work...</SPAN></P>
      <P><SPAN style="COLOR: rgb(31,73,125)"></SPAN> </P>
      <DIV>
      <P style="MARGIN-BOTTOM: 10pt; LINE-HEIGHT: 115%"><B><SPAN 
      style="FONT-SIZE: 10pt; COLOR: rgb(0,72,145); LINE-HEIGHT: 115%">Jason 
      Chambers<BR></SPAN></B><SPAN 
      style="FONT-SIZE: 10pt; COLOR: rgb(0,72,145); LINE-HEIGHT: 115%">IT Help 
      Desk Associate<BR><BR></SPAN><B><SPAN 
      style="FONT-SIZE: 12pt; COLOR: rgb(0,72,145); LINE-HEIGHT: 115%">GEOSOFT 
      INC.<BR></SPAN></B><B><SPAN 
      style="FONT-SIZE: 10pt; COLOR: rgb(130,176,0); LINE-HEIGHT: 115%">freedom 
      to explore<BR></SPAN></B><SPAN 
      style="FONT-SIZE: 9pt; COLOR: rgb(0,72,145); LINE-HEIGHT: 115%">T +1 
      416.369.0111 #344<BR>F +1 416.369.9599<BR><BR>Visit our site at <A 
      href="http://www.geosoft.com" 
      target=_blank>www.geosoft.com</A></SPAN></P></DIV>
      <P><SPAN style="COLOR: rgb(31,73,125)"></SPAN> </P>
      <DIV>
      <DIV 
      style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0cm; BORDER-TOP: rgb(181,196,223) 1pt solid; PADDING-LEFT: 0cm; PADDING-BOTTOM: 0cm; BORDER-LEFT: medium none; PADDING-TOP: 3pt; BORDER-BOTTOM: medium none">
      <P><B><SPAN lang=EN-US style="FONT-SIZE: 10pt">From:</SPAN></B><SPAN 
      lang=EN-US style="FONT-SIZE: 10pt"> Root, Paul [mailto:<A 
      href="mailto:Paul.Root@qwest.com" target=_blank>Paul.Root@qwest.com</A>] 
      <BR><B>Sent:</B> December-18-08 11:11 AM<BR><B>To:</B> <A 
      href="mailto:hobbit@hswn.dk" 
      target=_blank>hobbit@hswn.dk</A><BR><B>Subject:</B> RE: [hobbit] Downtime 
      tag syntax</SPAN></P></DIV></DIV>
      <P> </P>
      <P><SPAN style="FONT-SIZE: 10pt; COLOR: blue">That syntax looks 
      right.</SPAN><SPAN 
      style="FONT-SIZE: 12pt; FONT-FAMILY: 'Times New Roman','serif'"></SPAN></P>
      <P><SPAN 
      style="FONT-SIZE: 12pt; FONT-FAMILY: 'Times New Roman','serif'"></SPAN> </P>
      <P><SPAN style="FONT-SIZE: 10pt; COLOR: blue">Unfortunately, I think it's 
      just broken. I've been fighting this all week. I've tried DOWNTIME, TIME 
      on the HOST line of hobbit-alerts.cfg, TIME with IGNORE.</SPAN><SPAN 
      style="FONT-SIZE: 12pt; FONT-FAMILY: 'Times New Roman','serif'"></SPAN></P>
      <P><SPAN style="FONT-SIZE: 10pt; COLOR: blue">I've tried it with a bogus 
      alarm, and with procs. I had it working with a bogus alarm, but it always 
      ignores procs.</SPAN><SPAN 
      style="FONT-SIZE: 12pt; FONT-FAMILY: 'Times New Roman','serif'"></SPAN></P>
      <P><SPAN 
      style="FONT-SIZE: 12pt; FONT-FAMILY: 'Times New Roman','serif'"></SPAN> </P>
      <P><SPAN style="FONT-SIZE: 10pt; COLOR: blue">bbcmd hobbitd_alerts 
      ....    parses it correctly, and you think you're going to 
      get what you want. But then 2:11am the oncall is still paged.</SPAN><SPAN 
      style="FONT-SIZE: 12pt; FONT-FAMILY: 'Times New Roman','serif'"></SPAN></P>
      <P><SPAN 
      style="FONT-SIZE: 12pt; FONT-FAMILY: 'Times New Roman','serif'"></SPAN> </P>
      <P><SPAN style="FONT-SIZE: 10pt; COLOR: blue">I have this on Solaris 10 
      (in a zone) with Hobbit 4.2.0 and yesterday upgraded to Xymon 4.2.2. 
      Same deal.</SPAN><SPAN 
      style="FONT-SIZE: 12pt; FONT-FAMILY: 'Times New Roman','serif'"></SPAN></P>
      <P><SPAN 
      style="FONT-SIZE: 12pt; FONT-FAMILY: 'Times New Roman','serif'"></SPAN> </P>
      <DIV>
      <P><SPAN 
      style="FONT-SIZE: 12pt; FONT-FAMILY: 'Times New Roman','serif'"></SPAN> </P></DIV>
      <P><SPAN style="FONT-SIZE: 10pt">Paul 
      Root         IM/MNS 
      Infrastructure    </SPAN></P>
      <DIV>
      <P><SPAN 
      style="FONT-SIZE: 12pt; FONT-FAMILY: 'Times New Roman','serif'"></SPAN> </P></DIV>
      <BLOCKQUOTE 
style="MARGIN-TOP: 5pt; MARGIN-BOTTOM: 5pt; MARGIN-RIGHT: 0cm">
        <P><SPAN 
        style="FONT-SIZE: 12pt; FONT-FAMILY: 'Times New Roman','serif'"></SPAN> </P>
        <DIV style="TEXT-ALIGN: center" align=center><SPAN lang=EN-US 
        style="FONT-SIZE: 12pt; FONT-FAMILY: 'Times New Roman','serif'">
        <HR align=center width="100%" SIZE=2>
        </SPAN></DIV>
        <P style="MARGIN-BOTTOM: 12pt"><B><SPAN lang=EN-US 
        style="FONT-SIZE: 10pt">From:</SPAN></B><SPAN lang=EN-US 
        style="FONT-SIZE: 10pt"> Jason Chambers [mailto:<A 
        href="mailto:Jason.Chambers@geosoft.com" 
        target=_blank>Jason.Chambers@geosoft.com</A>] <BR><B>Sent:</B> Thursday, 
        December 18, 2008 7:35 AM<BR><B>To:</B> '<A href="mailto:hobbit@hswn.dk" 
        target=_blank>hobbit@hswn.dk</A>'<BR><B>Subject:</B> [hobbit] Downtime 
        tag syntax</SPAN><SPAN lang=EN-US 
        style="FONT-SIZE: 12pt; FONT-FAMILY: 'Times New Roman','serif'"></SPAN></P>
        <P>Hey everyone,</P>
        <P><BR>I'm having problems with the DOWNTIME: tag on a host as it 
        appears not to be working. Can anyone see what I am doing wrong?</P>
        <P> </P>
        <P>DOWNTIME:cpu,mysql:*:1800:1830:Backups</P>
        <P> </P>
        <P style="MARGIN-BOTTOM: 10pt; LINE-HEIGHT: 115%"><B><SPAN 
        style="FONT-SIZE: 10pt; COLOR: rgb(0,72,145); LINE-HEIGHT: 115%">Jason 
        Chambers<BR></SPAN></B><SPAN 
        style="FONT-SIZE: 10pt; COLOR: rgb(0,72,145); LINE-HEIGHT: 115%">IT Help 
        Desk Associate<BR><BR></SPAN><B><SPAN 
        style="FONT-SIZE: 12pt; COLOR: rgb(0,72,145); LINE-HEIGHT: 115%">GEOSOFT 
        INC.<BR></SPAN></B><B><SPAN 
        style="FONT-SIZE: 10pt; COLOR: rgb(130,176,0); LINE-HEIGHT: 115%">freedom 
        to explore<BR></SPAN></B><SPAN 
        style="FONT-SIZE: 9pt; COLOR: rgb(0,72,145); LINE-HEIGHT: 115%">T +1 
        416.369.0111 #344<BR>F +1 416.369.9599<BR><BR>Visit our site at <A 
        href="http://www.geosoft.com" 
        target=_blank>www.geosoft.com</A></SPAN></P>
        <P> </P></BLOCKQUOTE>
      <P><SPAN 
      style="FONT-SIZE: 12pt; FONT-FAMILY: 'Times New Roman','serif'"><BR><BR>This 
      communication is the property of Qwest and may contain confidential or 
      privileged information. Unauthorized use of this communication is strictly 
      prohibited and may be unlawful. If you have received this communication in 
      error, please immediately notify the sender by reply e-mail and destroy 
      all copies of the communication and any 
      attachments.</SPAN></P></DIV></DIV></DIV></BLOCKQUOTE></DIV></BLOCKQUOTE></DIV><BR></BLOCKQUOTE></BODY></HTML>