<div dir="ltr">HOST=%.*\.imaginenetworksllc\.com<br>  MAIL <a href="mailto:9375731337@txt.att.net">9375731337@txt.att.net</a> COLOR=RED DURATION>2m REPEAT=60 RECOVERED FORMAT=SMS<br><br>HOST=*<br>  MAIL <a href="mailto:josh@imaginenetworksllc.com">josh@imaginenetworksllc.com</a> COLOR=RED DURATION>15m REPEAT=60 RECOVERED<br>
<br>This will...<br><br>text message my phone for servers that are *.<a href="http://imaginenetworksllc.com">imaginenetworksllc.com</a> after being red for 2 minutes and repeat every hour and email when it goes green or blue<br>
<br>and the for the remaining hosts I will get an email after 15m of being red and repeater every hour, plus an email when it goes green or blue.<br><br clear="all">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 Fri, Aug 1, 2008 at 3:49 PM, Tim Grzechowski <span dir="ltr"><<a href="mailto:tim.grzechowski.osv@fedex.com">tim.grzechowski.osv@fedex.com</a>></span> 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="blue" lang="EN-US">

<div>

<p><font color="navy" size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: navy;">With this hobbit naming issue coming up it
looks like I asked a question at the wrong time.  ;)</span></font></p>

<p><font color="navy" size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: navy;"> </span></font></p>

<p><font color="navy" size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: navy;">This may be much easier… could
somebody cut'n'paste part of their hobbit-alerts.cfg here that uses
email for alerts.  If you have some with subpages that would be most excellent.</span></font></p>

<p><font color="navy" size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: navy;"> </span></font></p>

<p><font color="navy" size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: navy;">Thanks and everyone have a great weekend!</span></font></p>

<p><font color="navy" size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: navy;">/tg</span></font></p>

<p><font color="navy" size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: navy;"> </span></font></p>

<div>

<div style="text-align: center;" align="center"><font size="3" face="Times New Roman"><span style="font-size: 12pt;">

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

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

<p><b><font size="2" face="Tahoma"><span style="font-size: 10pt; font-family: Tahoma; font-weight: bold;">From:</span></font></b><font size="2" face="Tahoma"><span style="font-size: 10pt; font-family: Tahoma;"> Tim Grzechowski
[mailto:<a href="mailto:tim.grzechowski.osv@fedex.com" target="_blank">tim.grzechowski.osv@fedex.com</a>] <br>
<b><span style="font-weight: bold;">Sent:</span></b> Thursday, July 31, 2008 4:57
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] Alerts Help</span></font></p>

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

<p><font size="3" face="Times New Roman"><span style="font-size: 12pt;"> </span></font></p>

<p><font color="navy" size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: navy;">I just cannot figure how to set up
alerts.  </span></font></p>

<p><font color="navy" size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: navy;"> </span></font></p>

<p><font color="navy" size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: navy;">Maybe I can save you lots of
reading… All I am trying to do at this time I am just looking to set up
basic paging to an email (list) address. </span></font></p>

<p><font color="navy" size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: navy;"> </span></font></p>

<p><font color="navy" size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: navy;">I will want to break it down to subpages
for fabric servers, DB servers, web servers and weblogic server.</span></font></p>

<p><font color="navy" size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: navy;"> </span></font></p>

<p><font color="navy" size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: navy;"><br>
But… here is what I am working with now.  For now I have, or so I
thought, narrowed it down to the most basic of configuration and still cannot
get it to work.</span></font></p>

<p><font color="navy" size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: navy;"> </span></font></p>

<p><font color="navy" size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: navy;"> </span></font></p>

<p><font color="navy" size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: navy;">hobbit-alerts.cfg (added to the bottom of
the file).</span></font></p>

<p><font color="navy" size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: navy;"> </span></font></p>

<p><font color="navy" size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: navy;">HOST=*</span></font></p>

<p><font color="navy" size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: navy;">       
MAIL root@localhost     SERVICE=conn   
color=yellow</span></font></p>

<p><font color="navy" size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: navy;">       
MAIL root@localhost     SERVICE=cONN   
color=red</span></font></p>

<p><font color="navy" size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: navy;">       
MAIL root@localhost     SERVICE=conn   
color=purple</span></font></p>

<p><font color="navy" size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: navy;"> </span></font></p>

<p><font color="navy" size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: navy;"> </span></font></p>

<p><font color="navy" size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: navy;"> </span></font></p>

<p><font color="navy" size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: navy;">When I run bbcmd with just --test I get
the following:</span></font></p>

<p><font color="navy" size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: navy;"> </span></font></p>

<p><font color="navy" size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: navy;">[root@tstfabric121 etc]# ../bin/bbcmd
hobbitd_alert --test <a href="http://tstfabric121.ce.fedex.com" target="_blank">tstfabric121.ce.fedex.com</a> procs</span></font></p>

<p><font color="navy" size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: navy;">2008-07-31 16:48:03 Using default
environment file /usr/lib/hobbit/server/etc/hobbitserver.cfg</span></font></p>

<p><font color="navy" size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: navy;">00024059 2008-07-31 16:48:03 send_alert tstfabric121.ce.fedex.com:procs
state Paging</span></font></p>

<p><font color="navy" size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: navy;">00024059 2008-07-31 16:48:03 Matching
host:service:page 'tstfabric121.ce.fedex.com:procs:' against rule line 125</span></font></p>

<p><font color="navy" size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: navy;">00024059 2008-07-31 16:48:03 *** Match
with 'HOST=*' ***</span></font></p>

<p><font color="navy" size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: navy;">00024059 2008-07-31 16:48:03 Matching host:service:page
'tstfabric121.ce.fedex.com:procs:' against rule line 126</span></font></p>

<p><font color="navy" size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: navy;">00024059 2008-07-31 16:48:03 Failed 'MAIL
root@localhost       
SERVICE=conn    color=yellow' (service not in include list)</span></font></p>

<p><font color="navy" size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: navy;">00024059 2008-07-31 16:48:03 Matching
host:service:page 'tstfabric121.ce.fedex.com:procs:' against rule line 127</span></font></p>

<p><font color="navy" size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: navy;">00024059 2008-07-31 16:48:03 Failed 'MAIL
root@localhost       
SERVICE=cONN    color=red' (service not in include list)</span></font></p>

<p><font color="navy" size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: navy;">00024059 2008-07-31 16:48:03 Matching
host:service:page 'tstfabric121.ce.fedex.com:procs:' against rule line 128</span></font></p>

<p><font color="navy" size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: navy;">00024059 2008-07-31 16:48:03 Failed 'MAIL
root@localhost       
SERVICE=conn    color=purple' (service not in include list)</span></font></p>

<p><font color="navy" size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: navy;"> </span></font></p>

<p><font color="navy" size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: navy;"> </span></font></p>

<p><font color="navy" size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: navy;">With --debug too I get this:</span></font></p>

<p><font color="navy" size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: navy;"> </span></font></p>

<p><font color="navy" size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: navy;">[root@tstfabric121 etc]# ../bin/bbcmd
hobbitd_alert --test --debug <a href="http://tstfabric121.ce.fedex.com" target="_blank">tstfabric121.ce.fedex.com</a> procs</span></font></p>

<p><font color="navy" size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: navy;">2008-07-31 16:48:43 Using default
environment file /usr/lib/hobbit/server/etc/hobbitserver.cfg</span></font></p>

<p><font color="navy" size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: navy;">2008-07-31 16:48:43 Host not found in
bb-hosts - assuming it is on the top page</span></font></p>

<p><font color="navy" size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: navy;">00024284 2008-07-31 16:48:43 send_alert
--debug:<a href="http://tstfabric121.ce.fedex.com" target="_blank">tstfabric121.ce.fedex.com</a> state Paging</span></font></p>

<p><font color="navy" size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: navy;">00024284 2008-07-31 16:48:43 Matching
host:service:page '--debug:<a href="http://tstfabric121.ce.fedex.com" target="_blank">tstfabric121.ce.fedex.com</a>:' against rule line 125</span></font></p>

<p><font color="navy" size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: navy;">00024284 2008-07-31 16:48:43 *** Match
with 'HOST=*' ***</span></font></p>

<p><font color="navy" size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: navy;">00024284 2008-07-31 16:48:43 Matching
host:service:page '--debug:<a href="http://tstfabric121.ce.fedex.com" target="_blank">tstfabric121.ce.fedex.com</a>:' against rule line 126</span></font></p>

<p><font color="navy" size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: navy;">00024284 2008-07-31 16:48:43 Failed 'MAIL
root@localhost       
SERVICE=conn    color=yellow' (service not in include list)</span></font></p>

<p><font color="navy" size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: navy;">00024284 2008-07-31 16:48:43 Matching
host:service:page '--debug:<a href="http://tstfabric121.ce.fedex.com" target="_blank">tstfabric121.ce.fedex.com</a>:' against rule line 127</span></font></p>

<p><font color="navy" size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: navy;">00024284 2008-07-31 16:48:43 Failed 'MAIL
root@localhost       
SERVICE=cONN    color=red' (service not in include list)</span></font></p>

<p><font color="navy" size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: navy;">00024284 2008-07-31 16:48:43 Matching
host:service:page '--debug:<a href="http://tstfabric121.ce.fedex.com" target="_blank">tstfabric121.ce.fedex.com</a>:' against rule line 128</span></font></p>

<p><font color="navy" size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: navy;">00024284 2008-07-31 16:48:43 Failed 'MAIL
root@localhost       
SERVICE=conn    color=purple' (service not in include list)</span></font></p>

<p><font color="navy" size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: navy;"> </span></font></p>

<p><font color="navy" size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: navy;"> </span></font></p>

<p><font color="navy" size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: navy;"> </span></font></p>

<p><font color="navy" size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: navy;">Now the host, <a href="http://tstfabric121.ce.fedex.com" target="_blank">tstfabric121.ce.fedex.com</a>,
is in the bb-host file.  And, in fact, is the hobbit server.</span></font></p>

<p><font color="navy" size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: navy;"> </span></font></p>

<p><font color="navy" size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: navy;"> </span></font></p>

<p><font color="navy" size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: navy;">Also, so long as I am burning bandwidth, I
am not understanding how the page/subpage work into this?  I do have
subpage's set up in my bb-hosts file.</span></font></p>

<p><font color="navy" size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: navy;"> </span></font></p>

<p><font color="navy" size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: navy;"> </span></font></p>

<p><font color="navy" size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: navy;">Thanks.</span></font></p>

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

</div>


</blockquote></div><br></div>