<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
This is how hobbit reports statuses( mostly ), so it makes it easier to
make your checks & alert scripts more generic.<br>
<br>
to grab status messages ( perl ): <br>
<br>
foreach $line ( split($ENV{BBALPHAMSG},'\n') ) {<br>
    if ( /^&(yellow|red|purple)/ ) {<br>
          # do whatever with $line<br>
    }<br>
}<br>
<br>
<br>
<br>
<pre class="moz-signature" cols="72">Daniel Bourque
Systems/Network Administrator
Weather Data Inc

Office (316) 266-8013
Office (316) 265-9127 ext. 3013
Mobile (316) 640-1024
</pre>
<br>
<br>
Hubbard, Greg L wrote:
<blockquote
 cite="mid58EF0861D3A1A04182720B3A5231C7C201054C44@usplm205.amer.corp.eds.com"
 type="cite">
  <meta http-equiv="Context-Type" content="text/html; charset=us-ascii">
  <div><span> &green, etc </span></div>
  <br>
  <blockquote>
    <div lang="en-us"> <b>From:</b> Haertig, David F (Dave)
[<a class="moz-txt-link-freetext" href="mailto:haertig@avaya.com">mailto:haertig@avaya.com</a>] <br>
    <b>Sent:</b> Wednesday, June 06, 2007 4:15 PM<br>
    <b>To:</b> <a class="moz-txt-link-abbreviated" href="mailto:hobbit@hswn.dk">hobbit@hswn.dk</a><br>
    <b>Subject:</b> [hobbit] Using Hobbit icons inside your status
messages<br>
    <br>
    </div>
    <div> <span>Is there some "officially condoned" method to get
Hobbit icons into your status messages?</span> </div>
    <div> <span></span>  </div>
    <div> <span> Back when using Big Brother, I would just add
something like:
    <pre> <<span>IMG</span><span> SRC</span>=<span>/gifs/green.gif </span><span>ALT</span>=<span>green </span><span>HEIGHT</span>=<span>16 </span><span>WIDTH</span>=<span>16 </span><span>BORDER</span>=<span>0</span>> </pre>
    <pre> to the status message.  I'm sure something similar would work for Hobbit too. </pre>
    <pre> I was just wondering if there was some built-in auto substitution in Hobbit that would be cleaner.  Maybe like putting " __GREEN__" inside the status message. </pre>
    <pre>   </pre>
    <pre>   </pre>
    </span> </div>
  </blockquote>
</blockquote>
</body>
</html>