<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; font-size: 14px; font-family: Calibri, sans-serif; ">
<div style="color: rgb(0, 0, 0); ">Hi folks. Thought I would share this. I modified the html_mail.pl script to replace hobbit or bb references with xymon references.  It was using some older pointers so I replaced that.</div>
<div style="color: rgb(0, 0, 0); "><br>
</div>
<div style="color: rgb(0, 0, 0); ">I also re-formatted the email piece to change the subject line.</div>
<div style="color: rgb(0, 0, 0); "><br>
</div>
<div style="color: rgb(0, 0, 0); ">I don't know if there is any interest in this, but I can share the .pl code if so.</div>
<div style="color: rgb(0, 0, 0); "><br>
</div>
<div style="color: rgb(0, 0, 0); ">I had a question about this though - if I want to keep only the item that has the alert and get rid of all the extra info from $bbalphmsg, is there some way to do that besides using FORMAT=SMS in the alerts.cfg file?  When
 I use FORMAT=SMS, I get a shorter msg, but then lose the other items that are alerting.</div>
<div style="color: rgb(0, 0, 0); "><br>
</div>
<div style="color: rgb(0, 0, 0); ">Regards,</div>
<div style="color: rgb(0, 0, 0); "><br>
</div>
<div style="color: rgb(0, 0, 0); ">Don K</div>
<div style="color: rgb(0, 0, 0); "><br>
</div>
<div style="color: rgb(0, 0, 0); ">Here's a snip of the long email with the Proto listing shortened.  I would only like the items with the alert in the email.</div>
<div><span class="Apple-style-span" style="font-size: medium; font-family: Tahoma, Arial, Helvetica; "><font class="Apple-style-span" color="#0034ff">See <a href="http://srmxymon.ambrosi.com/xymon-cgi/svcstatus.sh?HOST=C3SRMSQL01P&SERVICE=ports" style="text-decoration: underline; ">http://xymonserver.domain.com/xymon-cgi/svcstatus.sh?HOST=SERVERNAME&SERVICE=ports</a><br>
<pre style="white-space: pre-wrap; word-wrap: break-word; max-width: 99%; width: 900px; overflow-x: auto; overflow-y: auto; table-layout: fixed; ">red Wed Apr 25 14:56:04 2012 - Ports NOT ok
<img src="cid:3A143FC6-FC3C-45BF-95B1-B4C2509C3D73" type="image/png"> SQL_Port_1433 (found 0, req. 1 or more)
<img src="cid:DB9F1850-5AED-4E93-9CA0-7A19E6BC9855" type="image/png"> Listen (found 37, req. none)


Active Connections

Proto  Local Address          Foreign Address        State
TCP    0.0.0.0:80             0.0.0.0:0              LISTENING
TCP    0.0.0.0:135            0.0.0.0:0              LISTENING
TCP    0.0.0.0:445            0.0.0.0:0              LISTENING
TCP    0.0.0.0:2383           0.0.0.0:0              LISTENING</pre>
</font></span></div>
<div style="color: rgb(0, 0, 0); ">…</div>
<div style="color: rgb(0, 0, 0); ">..</div>
<div style="color: rgb(0, 0, 0); ">.</div>
<div style="color: rgb(0, 0, 0); "><br>
</div>
</body>
</html>