<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML xmlns="http://www.w3.org/TR/REC-html40" 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"><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.6000.16762" name=GENERATOR><!--[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]-->
<STYLE>@font-face {
font-family: Wingdings;
}
@font-face {
font-family: Cambria Math;
}
@font-face {
font-family: Calibri;
}
@font-face {
font-family: Tahoma;
}
@font-face {
font-family: Arial Narrow;
}
@page Section1 {size: 612.0pt 792.0pt; margin: 72.0pt 72.0pt 72.0pt 72.0pt; }
P.MsoNormal {
FONT-SIZE: 11pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Calibri","sans-serif"
}
LI.MsoNormal {
FONT-SIZE: 11pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Calibri","sans-serif"
}
DIV.MsoNormal {
FONT-SIZE: 11pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Calibri","sans-serif"
}
A:link {
COLOR: blue; TEXT-DECORATION: underline; mso-style-priority: 99
}
SPAN.MsoHyperlink {
COLOR: blue; TEXT-DECORATION: underline; mso-style-priority: 99
}
A:visited {
COLOR: purple; TEXT-DECORATION: underline; mso-style-priority: 99
}
SPAN.MsoHyperlinkFollowed {
COLOR: purple; TEXT-DECORATION: underline; mso-style-priority: 99
}
P {
FONT-SIZE: 12pt; MARGIN-LEFT: 0cm; MARGIN-RIGHT: 0cm; FONT-FAMILY: "Times New Roman","serif"; mso-style-priority: 99; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto
}
SPAN.EmailStyle17 {
COLOR: windowtext; FONT-FAMILY: "Calibri","sans-serif"; mso-style-type: personal
}
SPAN.EmailStyle19 {
COLOR: #1f497d; FONT-FAMILY: "Calibri","sans-serif"; mso-style-type: personal-reply
}
.MsoChpDefault {
FONT-SIZE: 10pt; mso-style-type: export-only
}
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-CA vLink=purple link=blue>
<DIV dir=ltr align=left><SPAN class=529222517-18122008><FONT face=Arial
color=#0000ff size=2>I'm getting close.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=529222517-18122008><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=529222517-18122008><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=529222517-18122008><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 class=529222517-18122008><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=529222517-18122008><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 class=529222517-18122008><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 class=529222517-18122008><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=529222517-18122008><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=529222517-18122008><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=529222517-18122008><FONT face=Arial
color=#0000ff size=2> </DIV></FONT></SPAN>
<DIV dir=ltr align=left><SPAN class=529222517-18122008><FONT face=Arial
color=#0000ff size=2>What I'm trying right now is:</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=529222517-18122008><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=529222517-18122008><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 class=529222517-18122008><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=529222517-18122008><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
class=529222517-18122008>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
class=529222517-18122008></DIV></SPAN></FONT></FONT></FONT>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<DIV><SPAN class=529222517-18122008><FONT face=Arial color=#0000ff size=2>The
former should work for you. It should look like:</FONT></SPAN></DIV>
<DIV><SPAN class=529222517-18122008><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=529222517-18122008><FONT face=Arial color=#0000ff
size=2>HOST=<HOSTNAME> SERVICE=cpu,mysql COLOR=red DURATION>7
TIME=*:1800:1900</FONT></SPAN></DIV>
<DIV><SPAN class=529222517-18122008> <FONT face=Arial
color=#0000ff size=2>MAIL <WHEREVER> FORMAT=SMS</FONT></SPAN></DIV>
<DIV><SPAN class=529222517-18122008><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=529222517-18122008><FONT face=Arial color=#0000ff size=2>Test
it with</FONT></SPAN></DIV>
<DIV><SPAN class=529222517-18122008><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=529222517-18122008><FONT face=Arial color=#0000ff size=2>bbcmd
hobbitd_alert --test <HOSTNAME> cpu --duration=8
time=1229646890</FONT></SPAN></DIV>
<DIV><SPAN class=529222517-18122008><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=529222517-18122008><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=529222517-18122008><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><SPAN class=529222517-18122008></SPAN> </DIV><!-- Converted from text/plain format -->
<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>
<BLOCKQUOTE dir=ltr 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> Jason Chambers
[mailto:Jason.Chambers@geosoft.com] <BR><B>Sent:</B> Thursday, December 18,
2008 11:11 AM<BR><B>To:</B> 'hobbit@hswn.dk'<BR><B>Subject:</B> RE: [hobbit]
Downtime tag syntax<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV class=Section1>
<P class=MsoNormal><SPAN style="COLOR: #1f497d">Argh!<o:p></o:p></SPAN></P>
<P class=MsoNormal><SPAN style="COLOR: #1f497d"><o:p> </o:p></SPAN></P>
<P class=MsoNormal><SPAN style="COLOR: #1f497d">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: #1f497d; FONT-FAMILY: Wingdings">L</SPAN><SPAN
style="COLOR: #1f497d"> There has to be a way to get this to
work...<o:p></o:p></SPAN></P>
<P class=MsoNormal><SPAN style="COLOR: #1f497d"><o:p> </o:p></SPAN></P>
<DIV>
<P class=MsoNormal style="MARGIN-BOTTOM: 10pt; LINE-HEIGHT: 115%"><B><SPAN
style="FONT-SIZE: 10pt; COLOR: #004891; LINE-HEIGHT: 115%; FONT-FAMILY: 'Arial','sans-serif'">Jason
Chambers<BR></SPAN></B><SPAN
style="FONT-SIZE: 10pt; COLOR: #004891; LINE-HEIGHT: 115%; FONT-FAMILY: 'Arial','sans-serif'">IT
Help Desk Associate<BR><BR></SPAN><B><SPAN
style="FONT-SIZE: 12pt; COLOR: #004891; LINE-HEIGHT: 115%; FONT-FAMILY: 'Arial Narrow','sans-serif'">GEOSOFT
INC.<BR></SPAN></B><B><SPAN
style="FONT-SIZE: 10pt; COLOR: #82b000; LINE-HEIGHT: 115%; FONT-FAMILY: 'Arial','sans-serif'">freedom
to explore<BR></SPAN></B><SPAN
style="FONT-SIZE: 9pt; COLOR: #004891; LINE-HEIGHT: 115%; FONT-FAMILY: 'Arial','sans-serif'">T
+1 416.369.0111 #344<BR>F +1 416.369.9599<BR><BR>Visit our site at
www.geosoft.com<o:p></o:p></SPAN></P></DIV>
<P class=MsoNormal><SPAN style="COLOR: #1f497d"><o:p> </o:p></SPAN></P>
<DIV>
<DIV
style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0cm; BORDER-TOP: #b5c4df 1pt solid; PADDING-LEFT: 0cm; PADDING-BOTTOM: 0cm; BORDER-LEFT: medium none; PADDING-TOP: 3pt; BORDER-BOTTOM: medium none">
<P class=MsoNormal><B><SPAN lang=EN-US
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Tahoma','sans-serif'">From:</SPAN></B><SPAN
lang=EN-US style="FONT-SIZE: 10pt; FONT-FAMILY: 'Tahoma','sans-serif'"> Root,
Paul [mailto:Paul.Root@qwest.com] <BR><B>Sent:</B> December-18-08 11:11
AM<BR><B>To:</B> hobbit@hswn.dk<BR><B>Subject:</B> RE: [hobbit] Downtime tag
syntax<o:p></o:p></SPAN></P></DIV></DIV>
<P class=MsoNormal><o:p> </o:p></P>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Arial','sans-serif'">That
syntax looks right.</SPAN><SPAN
style="FONT-SIZE: 12pt; FONT-FAMILY: 'Times New Roman','serif'"><o:p></o:p></SPAN></P>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 12pt; FONT-FAMILY: 'Times New Roman','serif'"> <o:p></o:p></SPAN></P>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Arial','sans-serif'">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'"><o:p></o:p></SPAN></P>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Arial','sans-serif'">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'"><o:p></o:p></SPAN></P>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 12pt; FONT-FAMILY: 'Times New Roman','serif'"> <o:p></o:p></SPAN></P>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Arial','sans-serif'">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'"><o:p></o:p></SPAN></P>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 12pt; FONT-FAMILY: 'Times New Roman','serif'"> <o:p></o:p></SPAN></P>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Arial','sans-serif'">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'"><o:p></o:p></SPAN></P>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 12pt; FONT-FAMILY: 'Times New Roman','serif'"> <o:p></o:p></SPAN></P>
<DIV>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 12pt; FONT-FAMILY: 'Times New Roman','serif'"> <o:p></o:p></SPAN></P></DIV>
<P><SPAN style="FONT-SIZE: 10pt">Paul
Root IM/MNS
Infrastructure </SPAN><o:p></o:p></P>
<DIV>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 12pt; FONT-FAMILY: 'Times New Roman','serif'"> <o:p></o:p></SPAN></P></DIV>
<BLOCKQUOTE style="MARGIN-TOP: 5pt; MARGIN-BOTTOM: 5pt; MARGIN-RIGHT: 0cm">
<P class=MsoNormal><SPAN
style="FONT-SIZE: 12pt; FONT-FAMILY: 'Times New Roman','serif'"><o:p> </o:p></SPAN></P>
<DIV class=MsoNormal 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 class=MsoNormal style="MARGIN-BOTTOM: 12pt"><B><SPAN lang=EN-US
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Tahoma','sans-serif'">From:</SPAN></B><SPAN
lang=EN-US style="FONT-SIZE: 10pt; FONT-FAMILY: 'Tahoma','sans-serif'">
Jason Chambers [mailto:Jason.Chambers@geosoft.com] <BR><B>Sent:</B>
Thursday, December 18, 2008 7:35 AM<BR><B>To:</B>
'hobbit@hswn.dk'<BR><B>Subject:</B> [hobbit] Downtime tag syntax</SPAN><SPAN
lang=EN-US
style="FONT-SIZE: 12pt; FONT-FAMILY: 'Times New Roman','serif'"><o:p></o:p></SPAN></P>
<P class=MsoNormal>Hey everyone,<o:p></o:p></P>
<P class=MsoNormal><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?<o:p></o:p></P>
<P class=MsoNormal><o:p> </o:p></P>
<P class=MsoNormal>DOWNTIME:cpu,mysql:*:1800:1830:Backups<o:p></o:p></P>
<P class=MsoNormal><o:p> </o:p></P>
<P class=MsoNormal style="MARGIN-BOTTOM: 10pt; LINE-HEIGHT: 115%"><B><SPAN
style="FONT-SIZE: 10pt; COLOR: #004891; LINE-HEIGHT: 115%; FONT-FAMILY: 'Arial','sans-serif'">Jason
Chambers<BR></SPAN></B><SPAN
style="FONT-SIZE: 10pt; COLOR: #004891; LINE-HEIGHT: 115%; FONT-FAMILY: 'Arial','sans-serif'">IT
Help Desk Associate<BR><BR></SPAN><B><SPAN
style="FONT-SIZE: 12pt; COLOR: #004891; LINE-HEIGHT: 115%; FONT-FAMILY: 'Arial Narrow','sans-serif'">GEOSOFT
INC.<BR></SPAN></B><B><SPAN
style="FONT-SIZE: 10pt; COLOR: #82b000; LINE-HEIGHT: 115%; FONT-FAMILY: 'Arial','sans-serif'">freedom
to explore<BR></SPAN></B><SPAN
style="FONT-SIZE: 9pt; COLOR: #004891; LINE-HEIGHT: 115%; FONT-FAMILY: 'Arial','sans-serif'">T
+1 416.369.0111 #344<BR>F +1 416.369.9599<BR><BR>Visit our site at
www.geosoft.com<o:p></o:p></SPAN></P>
<P class=MsoNormal><o:p> </o:p></P></BLOCKQUOTE>
<P class=MsoNormal><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.<o:p></o:p></SPAN></P></DIV></BLOCKQUOTE></BODY></HTML>