<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:st1="urn:schemas-microsoft-com:office:smarttags" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<!--[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]--><o:SmartTagType
 namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="PostalCode"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="State"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="Street"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="address"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="City"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="place"/>
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:"Palatino Linotype";
        panose-1:2 4 5 2 5 5 5 3 3 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:blue;
        text-decoration:underline;}
p
        {mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman";}
pre
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:navy;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
-->
</style>

</head>

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

<div class=Section1>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>I just looked at an email in the sendmail
queue and there is subject only – no body. Where do I look in Hobbit to
see what message is being generated? Perhaps it is not even logging the message
and only the subjects?<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>

<div>

<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>

<hr size=2 width="100%" align=center tabindex=-1>

</span></font></div>

<p class=MsoNormal><b><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>From:</span></font></b><font size=2
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'> Josh Luthman
[mailto:josh@imaginenetworksllc.com] <br>
<b><span style='font-weight:bold'>Sent:</span></b> Wednesday, May 14, 2008 9:05
AM<br>
<b><span style='font-weight:bold'>To:</span></b> hobbit@hswn.dk<br>
<b><span style='font-weight:bold'>Subject:</span></b> Re: [hobbit] RE: Hobbit
Emails empty</span></font><o:p></o:p></p>

</div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>

<p class=MsoNormal style='margin-bottom:12.0pt'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>Kevin,<br>
<br>
I delete the mail notices from Hobbit so I can't say how it should look, but
here is what I am using:<br>
<br>
HOST=*<br>
  MAIL user@domain.tld COLOR=RED DURATION>15m REPEAT=60 RECOVERED<o:p></o:p></span></font></p>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>On Wed, May 14, 2008 at 11:00 AM, Kevin Doyle <<a
href="mailto:kdoyle@peak5.com">kdoyle@peak5.com</a>> wrote:<o:p></o:p></span></font></p>

<div link=blue vlink=blue>

<div>

<p><font size=2 color=navy face=Arial><span style='font-size:10.0pt;font-family:
Arial;color:navy'>Some further information. My clients (mostly Windows2003
servers are running the Big Brother client, version 1-08d</span></font><o:p></o:p></p>

<p><font size=2 color=navy face=Arial><span style='font-size:10.0pt;font-family:
Arial;color:navy'> </span></font><o:p></o:p></p>

<div>

<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>

<hr size=2 width="100%" align=center>

</span></font></div>

<p><b><font size=2 face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma;
font-weight:bold'>From:</span></font></b><font size=2 face=Tahoma><span
style='font-size:10.0pt;font-family:Tahoma'> Josh Luthman [mailto:<a
href="mailto:josh@imaginenetworksllc.com" target="_blank">josh@imaginenetworksllc.com</a>]
<o:p></o:p></span></font></p>

<div>

<p class=MsoNormal><b><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>Sent:</span></font></b><font size=2
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'> Wednesday, May
14, 2008 8:47 AM<o:p></o:p></span></font></p>

</div>

<p class=MsoNormal><b><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>To:</span></font></b><font size=2
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'> <a
href="mailto:hobbit@hswn.dk" target="_blank">hobbit@hswn.dk</a><o:p></o:p></span></font></p>

<div>

<p class=MsoNormal><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma'><br>
<b><span style='font-weight:bold'>Subject:</span></b> Re: [hobbit] RE: Hobbit
Emails empty<o:p></o:p></span></font></p>

</div>

</div>

<p><font size=3 face="Times New Roman"><span style='font-size:12.0pt'> <o:p></o:p></span></font></p>

<p style='margin-bottom:12.0pt'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'>Kevin,<br>
<br>
Try this:<o:p></o:p></span></font></p>

<div>

<div><pre><font size=2 face="Courier New"><span style='font-size:10.0pt'>HOST=*<o:p></o:p></span></font></pre><pre><font
size=2 face="Courier New"><span style='font-size:10.0pt'>     MAIL kdoyle (at) <a
href="http://peak5.com/" target="_blank">peak5.com</a> COLOR=RED REPEAT=20 RECOVERED<o:p></o:p></span></font></pre>

<p style='margin-bottom:12.0pt'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'>Josh<o:p></o:p></span></font></p>

<div>

<p><font size=3 face="Times New Roman"><span style='font-size:12.0pt'>On Wed,
May 14, 2008 at 10:35 AM, Kevin Doyle <<a href="mailto:kdoyle@peak5.com"
target="_blank">kdoyle@peak5.com</a>> wrote:<o:p></o:p></span></font></p>

<div link=blue vlink=purple>

<div><pre><font size=2 face="Courier New"><span style='font-size:10.0pt'>Yes here is the relevant line in my hobbit-alerts.cfg<o:p></o:p></span></font></pre><pre><font
size=2 face="Courier New"><span style='font-size:10.0pt'> <o:p></o:p></span></font></pre><pre><font
size=2 face="Courier New"><span style='font-size:10.0pt'>#<o:p></o:p></span></font></pre><pre><font
size=2 face="Courier New"><span style='font-size:10.0pt'># The hobbit-alerts.cfg file controls who receives alerts<o:p></o:p></span></font></pre><pre><font
size=2 face="Courier New"><span style='font-size:10.0pt'># when a status in the BB system goes into a critical<o:p></o:p></span></font></pre><pre><font
size=2 face="Courier New"><span style='font-size:10.0pt'># state (usually: red, yellow or purple).<o:p></o:p></span></font></pre><pre><font
size=2 face="Courier New"><span style='font-size:10.0pt'>#<o:p></o:p></span></font></pre><pre><font
size=2 face="Courier New"><span style='font-size:10.0pt'># This file is made up from RULES and RECIPIENTS.<o:p></o:p></span></font></pre><pre><font
size=2 face="Courier New"><span style='font-size:10.0pt'>#<o:p></o:p></span></font></pre><pre><font
size=2 face="Courier New"><span style='font-size:10.0pt'># A RULE is a filter made from the PAGE where a host<o:p></o:p></span></font></pre><pre><font
size=2 face="Courier New"><span style='font-size:10.0pt'># is located in BB; the HOST name, the SERVICE name,<o:p></o:p></span></font></pre><pre><font
size=2 face="Courier New"><span style='font-size:10.0pt'># the COLOR of the status, the TIME of day, and the<o:p></o:p></span></font></pre><pre><font
size=2 face="Courier New"><span style='font-size:10.0pt'># DURATION of the event.<o:p></o:p></span></font></pre><pre><font
size=2 face="Courier New"><span style='font-size:10.0pt'>#<o:p></o:p></span></font></pre><pre><font
size=2 face="Courier New"><span style='font-size:10.0pt'># A RECIPIENT can be a MAIL address, or a SCRIPT.<o:p></o:p></span></font></pre><pre><font
size=2 face="Courier New"><span style='font-size:10.0pt'>#<o:p></o:p></span></font></pre><pre><font
size=2 face="Courier New"><span style='font-size:10.0pt'># Recipients can also have rules associated with them,<o:p></o:p></span></font></pre><pre><font
size=2 face="Courier New"><span style='font-size:10.0pt'># that modify the rules for a single recipient, e.g.<o:p></o:p></span></font></pre><pre><font
size=2 face="Courier New"><span style='font-size:10.0pt'># you can define a rule for alerting, then add an<o:p></o:p></span></font></pre><pre><font
size=2 face="Courier New"><span style='font-size:10.0pt'># extra criteria e.g. so a single recipient does not get<o:p></o:p></span></font></pre><pre><font
size=2 face="Courier New"><span style='font-size:10.0pt'># alerted until after 20 minutes.<o:p></o:p></span></font></pre><pre><font
size=2 face="Courier New"><span style='font-size:10.0pt'>#<o:p></o:p></span></font></pre><pre><font
size=2 face="Courier New"><span style='font-size:10.0pt'># A sample rule:<o:p></o:p></span></font></pre><pre><font
size=2 face="Courier New"><span style='font-size:10.0pt'> <o:p></o:p></span></font></pre><pre><font
size=2 face="Courier New"><span style='font-size:10.0pt'>HOST=* Color=red<o:p></o:p></span></font></pre><pre><font
size=2 face="Courier New"><span style='font-size:10.0pt'>     MAIL kdoyle (at) <a
href="http://peak5.com" target="_blank">peak5.com</a> FORMAT=TEXT COLOR=RED REPEAT=20 RECOVERED<o:p></o:p></span></font></pre><pre><font
size=2 face="Courier New"><span style='font-size:10.0pt'> <o:p></o:p></span></font></pre><pre><font
size=2 face="Courier New"><span style='font-size:10.0pt'>#      MAIL <a
href="mailto:cio@foo.com" target="_blank">cio@foo.com</a> DURATION>60 COLOR=red<o:p></o:p></span></font></pre><pre><font
size=2 face="Courier New"><span style='font-size:10.0pt'>#      SCRIPT /usr/local/bin/sendsms 1234567890 FORMAT=SMS<o:p></o:p></span></font></pre>

<div><pre><font size=2 face="Courier New"><span style='font-size:10.0pt'> <o:p></o:p></span></font></pre><pre><font
size=2 face="Courier New"><span style='font-size:10.0pt'> <o:p></o:p></span></font></pre><pre><font
size=2 face="Courier New"><span style='font-size:10.0pt'> <o:p></o:p></span></font></pre><pre><font
size=2 face="Courier New"><span style='font-size:10.0pt'> <o:p></o:p></span></font></pre><pre><font
size=2 face="Courier New"><span style='font-size:10.0pt'>Can you share your ~/server/etc/hobbit-alerts.cfg please?<o:p></o:p></span></font></pre>

<p><font size=2 color=navy face=Arial><span style='font-size:10.0pt;font-family:
Arial;color:navy'> </span></font><o:p></o:p></p>

<p><font size=2 color=navy face=Arial><span style='font-size:10.0pt;font-family:
Arial;color:navy'> </span></font><o:p></o:p></p>

</div>

<div>

<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>

<hr size=2 width="100%" align=center>

</span></font></div>

<p><b><font size=2 face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma;
font-weight:bold'>From:</span></font></b><font size=2 face=Tahoma><span
style='font-size:10.0pt;font-family:Tahoma'> Kevin Doyle <br>
<b><span style='font-weight:bold'>Sent:</span></b> Tuesday, May 13, 2008 1:12
PM<br>
<b><span style='font-weight:bold'>To:</span></b> '<a
href="mailto:hobbit@hswn.dk" target="_blank">hobbit@hswn.dk</a>'<br>
<b><span style='font-weight:bold'>Subject:</span></b> Hobbit Emails empty</span></font><o:p></o:p></p>

</div>

<div>

<div>

<p><font size=3 face="Times New Roman"><span style='font-size:12.0pt'> <o:p></o:p></span></font></p>

<p><font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>I
have a test Hobbit server running on CentOS 5.0 I am running Hobbit 4.1.2p2 and
everything appears to be fuinctioning correct except alerting. When I trigger
an alert, I get an email with only a subject and no body. I expected to get
some information about the alert and the link to the monitored device. I am
sure I am missing something fairly simple but I am new to Linux and Hobbit. </span></font><o:p></o:p></p>

<p><font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'> </span></font><o:p></o:p></p>

<p><font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>Any
Ideas?</span></font><o:p></o:p></p>

<p><font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'> </span></font><o:p></o:p></p>

<p><b><font size=3 face="Palatino Linotype"><span style='font-size:12.0pt;
font-family:"Palatino Linotype";font-weight:bold'>Kevin P. Doyle</span></font></b><o:p></o:p></p>

<p><font size=2 face="Palatino Linotype"><span style='font-size:10.0pt;
font-family:"Palatino Linotype"'>Sr. Systems Administrator</span></font><o:p></o:p></p>

<p><b><font size=3 color=maroon face="Palatino Linotype"><span
style='font-size:12.0pt;font-family:"Palatino Linotype";color:maroon;
font-weight:bold'>Peak5</span></font></b><o:p></o:p></p>

<p><font size=3 face="Times New Roman"><span style='font-size:12.0pt'> <o:p></o:p></span></font></p>

<div>

<p><font size=3 face="Times New Roman"><span style='font-size:12.0pt'> <o:p></o:p></span></font></p>

</div>

<p><font size=3 face="Times New Roman"><span style='font-size:12.0pt'> <o:p></o:p></span></font></p>

</div>

</div>

</div>

</div>

</div>

<p><font size=3 face="Times New Roman"><span style='font-size:12.0pt'><br>
<br clear=all>
<br>
-- <br>
Josh Luthman<br>
Office: 937-552-2340<br>
Direct: 937-552-2343<br>
<st1:Street w:st="on"><st1:address w:st="on">1100 Wayne St</st1:address></st1:Street><br>
<st1:address w:st="on"><st1:Street w:st="on">Suite</st1:Street> 1337</st1:address><br>
<st1:place w:st="on"><st1:City w:st="on">Troy</st1:City>, <st1:State w:st="on">OH</st1:State>
 <st1:PostalCode w:st="on">45373</st1:PostalCode></st1:place><br>
<br>
Those who don't understand UNIX are condemned to reinvent it, poorly.<br>
--- Henry Spencer <o:p></o:p></span></font></p>

</div>

</div>

</div>

</div>

</div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><br>
<br clear=all>
<br>
-- <br>
Josh Luthman<br>
Office: 937-552-2340<br>
Direct: 937-552-2343<br>
<st1:Street w:st="on"><st1:address w:st="on">1100 Wayne St</st1:address></st1:Street><br>
<st1:address w:st="on"><st1:Street w:st="on">Suite</st1:Street> 1337</st1:address><br>
<st1:place w:st="on"><st1:City w:st="on">Troy</st1:City>, <st1:State w:st="on">OH</st1:State>
 <st1:PostalCode w:st="on">45373</st1:PostalCode></st1:place><br>
<br>
Those who don't understand UNIX are condemned to reinvent it, poorly.<br>
--- Henry Spencer <o:p></o:p></span></font></p>

</div>

</body>

</html>