<div>Have a read of the hobbit-alerts man page to get you staretd on how alert scripts work.</div>
<div> </div>
<div>Your script will need to read in the message from the environment variable and do a replace of all the found &colour strings with a URL to each of the coloured gifs from the hobbit web server. You may need to ensure the message is sent as a valid html message etc so it works in your email client.</div>

<div> </div>
<div>You will also need to reproduce the subject line etc using the env variables that hobbit defines.</div>
<div> </div>
<div>Cheers</div>
<div> </div>
<div>Phil</div>
<div> </div>
<div><br><br> </div>
<div class="gmail_quote">2008/5/23 Josh Luthman <<a href="mailto:josh@imaginenetworksllc.com">josh@imaginenetworksllc.com</a>>:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Here is some (well..only one =) custom alert scripts:<br><br><a href="http://www.trantor.org/theshire/doku.php/alerts" target="_blank">http://www.trantor.org/theshire/doku.php/alerts</a> 
<div>
<div></div>
<div class="Wj3C7c"><br><br>
<div class="gmail_quote">On Thu, May 22, 2008 at 11:14 PM, Ryan Jay B. Lapuz <<a href="mailto:rlapuz@fcpp.fujitsu.com" target="_blank">rlapuz@fcpp.fujitsu.com</a>> 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 bgcolor="#ffffff">
<div><font face="Arial" size="2">Thanks for the quick reply!</font></div>
<div><font face="Arial" size="2"></font> </div>
<div><font face="Arial" size="2">Make a custom script; can someone share me the their script and teach me how to configure it?</font></div>
<div><font face="Arial" size="2"></font> </div>
<div><font face="Arial" size="2">Thanks in advance!</font></div>
<div><font face="Arial" size="2"></font> </div>
<div><font face="Arial" size="2">Regards.</font></div>
<div><font face="Arial" size="2">Ryan</font></div>
<div>
<div></div>
<div>
<blockquote style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: rgb(0,0,0) 2px solid; MARGIN-RIGHT: 0px">
<div style="FONT: 10pt arial; font-size-adjust: none; font-stretch: normal">----- Original Message ----- </div>
<div style="BACKGROUND: rgb(228,228,228) 0% 50%; FONT: 10pt arial; font-size-adjust: none; font-stretch: normal"><b>From:</b> <a title="josh@imaginenetworksllc.com" href="mailto:josh@imaginenetworksllc.com" target="_blank">Josh Luthman</a> </div>

<div style="FONT: 10pt arial; font-size-adjust: none; font-stretch: normal"><b>To:</b> <a title="hobbit@hswn.dk" href="mailto:hobbit@hswn.dk" target="_blank">hobbit@hswn.dk</a> </div>
<div style="FONT: 10pt arial; font-size-adjust: none; font-stretch: normal"><b>Sent:</b> Friday, May 23, 2008 11:01 AM</div>
<div style="FONT: 10pt arial; font-size-adjust: none; font-stretch: normal"><b>Subject:</b> Re: [hobbit] alert question</div>
<div><br></div>Pretty sure you'll have to create a custom script and put in the HTML code in the data section of your email.  To my knowledge you can't simply stick in text in the alert Hobbit sends.<br><br>
<div class="gmail_quote">On Thu, May 22, 2008 at 10:57 PM, Ryan Jay B. Lapuz <<a href="mailto:rlapuz@fcpp.fujitsu.com" target="_blank">rlapuz@fcpp.fujitsu.com</a>> 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-US" vlink="black" link="blue" bgcolor="#ffffff"><pre><font color="black"><span style="COLOR: black"></span></font></pre>
<div><font face="Courier New" color="black" size="2"><span style="FONT-SIZE: 10pt; COLOR: black">Hi all!</span></font></div>
<div><font face="Courier New" color="black" size="2"><span style="FONT-SIZE: 10pt; COLOR: black"></span></font> </div>
<div><font face="Courier New" color="black" size="2"><span style="FONT-SIZE: 10pt; COLOR: black"><font face="Arial">Just a follow up newbie question.</font></span></font></div>
<div><font face="Courier New" color="black" size="2"><span style="FONT-SIZE: 10pt; COLOR: black"><font face="Arial"></font></span></font> </div>
<div><font face="Courier New" color="black" size="2"><span style="FONT-SIZE: 10pt; COLOR: black"><font face="Arial">How can I make hobbit to send me alerts with icon like that alert below?</font></span></font></div>
<div><font face="Arial" color="black" size="2"><span style="FONT-SIZE: 10pt; COLOR: black">I am receiving alerts like this:</span></font></div>
<div><font face="Arial" color="black" size="2"><span style="FONT-SIZE: 10pt; COLOR: black"></span></font> </div>
<div><font face="Arial" color="black" size="2"><span style="FONT-SIZE: 10pt; COLOR: black"><font face="Times New Roman" size="3">&yellow Warnings in <a href="/hobbit-cgi/bb-hostsvc.sh?CLIENT=HOST&amp;SECTION=msgs:/var/adm/messages">/var/adm/messages</a><br>
</font></span></font></div>
<div><font face="Courier New" color="black" size="2"><span style="FONT-SIZE: 10pt; COLOR: black"><font face="Arial"><b>Hobbit 4.2.0 w/ all-in-one patch instaled in Fedora Core 6</b></font></span></font></div>
<div><font face="Arial"></font><font face="Arial"></font><font face="Arial"></font><br><br></div>
<div>
<hr align="center" width="100%" size="2">
</div>
<div><br><br></div>
<blockquote dir="ltr" style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: rgb(0,0,0) 2px solid; MARGIN-RIGHT: 0px">
<div><pre><font face="Courier New" color="black" size="2"><span style="FONT-SIZE: 10pt; COLOR: black"> </span></font></pre><pre><font face="Courier New" color="black" size="2"><span style="FONT-SIZE: 10pt; COLOR: black">   <img height="16" alt="green" src="cid:018101c8bc83$2395d9e0$398f10ac@oad.fcpp.fujitsu.com" width="16" border="0"> Listener LISTENER_RMAN1 UP</span></font></pre>
<pre><font face="Courier New" color="black" size="2"><span style="FONT-SIZE: 10pt; COLOR: black">   <img height="16" alt="red" src="cid:018201c8bc83$2395d9e0$398f10ac@oad.fcpp.fujitsu.com" width="16" border="0"> Listener LISTENER DOWN</span></font></pre>
<pre><font face="Courier New" color="black" size="2"><span style="FONT-SIZE: 10pt; COLOR: black"> </span></font></pre><pre><font face="Courier New" color="black" size="2"><span style="FONT-SIZE: 10pt; COLOR: black">   <img height="16" alt="red" src="cid:018201c8bc83$2395d9e0$398f10ac@oad.fcpp.fujitsu.com" width="16" border="0"> Listener LISTENER DOWN</span></font></pre>

<p><font face="Times New Roman" size="3"><span style="FONT-SIZE: 12pt"></span></font> </p>
<p><font face="Courier New" size="2"><span style="FONT-SIZE: 10pt"></span></font> </p></div></blockquote></div></blockquote></div><br><br clear="all"><br>-- <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 </blockquote></div></div></div></blockquote></div><br><br clear="all"><br>
-- <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 </div>
</div></blockquote></div><br><br clear="all"><br>-- <br>Tel: 0400 466 952<br>Fax: 0433 123 226<br>email: philwild AT <a href="http://gmail.com">gmail.com</a>