<div>Devmon embeds a bunch of HTML markup that doesn't work so well in a text email.  The "PLAIN" format is the same as "TEXT" but simply omits the link to the Xymon server - no clean-up will be done on HTML markup within the status page, so any status with a table (pretty much anything from devmon) will give you this problem.</div>

<div><br></div>You can use "SCRIPT /path/to/script RECIPIENT" and then do whatever clean-up you wish inside the script.  Perhaps something like (untested):<div><br></div><div>#!/bin/sh</div><div>sed 's/<[^<]*>//g;s/^&//;/^Alarming on/d;/^$/d' | /usr/bin/mailx -s "$BBALPHAMSG" $RCPT</div>

<div><br></div><div>See <a href="http://www.xymon.com/xymon/help/xymon-alerts.html#scripts">http://www.xymon.com/xymon/help/xymon-alerts.html#scripts</a> for more details on using scripts, including an example.</div><div>

<br></div><div>J</div><div><br></div><div><br><div class="gmail_quote">On Sat, May 26, 2012 at 7:12 AM,  <span dir="ltr"><<a href="mailto:kconnell@ryerson.ca" target="_blank">kconnell@ryerson.ca</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Not sure is this is a devmon question, or xymon, but figured I try here first.<br>
<br>
I have a table built/displayed on xymon via devmon for temperature on our L2 stacks.<br>
<br>
The issue is when a "red" event happens and an email is sent, the format of the email is just horrible.<br>
<br>
I've tried adding "FORMAT=PLAIN" within the alerts.cfg for that particular event, but I don't really see a change.<br>
<br>
Is there any way to make the email body a little nicer ??<br>
<br>
Below is an example of the email content:<br>
<br>
red Thu May 24 17:57:23 2012<br>
<br>
<br>
<br>
Alarming on (53.50,53.50,49.00,49.00,49.00,49.00,49.50,49.50,45.50,45.50,46.50)<br>
Alarming on (46.50,46.50,46.50)<br>
<table border=1 cellpadding=5><br>
<tr><td>Unit Temperature</td></tr><br>
<tr><td>&red 53.50</td></tr><br>
<tr><td>&yellow 49.00</td></tr><br>
<tr><td>&yellow 49.00</td></tr><br>
<tr><td>&yellow 49.50</td></tr><br>
<tr><td>&yellow 45.50</td></tr><br>
<tr><td>&yellow 46.50</td></tr><br>
<tr><td>&yellow 46.50</td></tr><br>
</table><br>
<br>
<br>
Operating temperature: 0Ā° to 45Ā°C (32Ā° to 113Ā°F)<br>
<br>
<br>
Ken Connell<br>
Intermediate Network Engineer<br>
Computer & Communication Services<br>
Ryerson University<br>
350 Victoria St<br>
RM AB50<br>
Toronto, Ont<br>
M5B 2K3<br>
416-979-5000 x6709<br>
_______________________________________________<br>
Xymon mailing list<br>
<a href="mailto:Xymon@xymon.com">Xymon@xymon.com</a><br>
<a href="http://lists.xymon.com/mailman/listinfo/xymon" target="_blank">http://lists.xymon.com/mailman/listinfo/xymon</a><br>
</blockquote></div><br></div>