<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<span style="color:rgb(34, 34, 34);font-family:Arial, Helvetica, sans-serif;font-size:small;background-color:rgb(255, 255, 255);display:inline !important" class="elementToProof">Hello fellow xymoners,</span></div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<span style="color:rgb(34, 34, 34);font-family:Arial, Helvetica, sans-serif;font-size:small;background-color:rgb(255, 255, 255);display:inline !important" class="elementToProof"><br>
</span></div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<span style="color:rgb(34, 34, 34);font-family:Arial, Helvetica, sans-serif;font-size:small;background-color:rgb(255, 255, 255);display:inline !important" class="elementToProof">I have recently setup monitoring of the existence of files in a particular directory,
 and this seems to be working well. When I setup an alert for a "red" condition, I receive an email message with what appears to be some html tags within it, eg:</span></div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<span style="color:rgb(34, 34, 34);font-family:Arial, Helvetica, sans-serif;font-size:small;background-color:rgb(255, 255, 255);display:inline !important" class="elementToProof"><br>
</span></div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<span style="color:rgb(34, 34, 34);font-family:Arial, Helvetica, sans-serif;font-size:small;background-color:rgb(255, 255, 255);display:inline !important" class="elementToProof"><span style="margin:0px;font-size:12pt;font-family:Calibri, Helvetica, sans-serif;color:rgb(0, 0, 0)"><span style="margin:0px;font-size:small;font-family:Arial, Helvetica, sans-serif;color:rgb(34, 34, 34);background-color:rgb(255, 255, 255);display:inline !important"> 
       &red <a href="/xymon-cgi/svcstatus.sh?</span><wbr style="color:rgb(34, 34, 34);font-family:Arial, Helvetica, sans-serif;font-size:small;background-color:rgb(255, 255, 255)"><span style="margin:0px;font-size:small;font-family:Arial, Helvetica, sans-serif;color:rgb(34, 34, 34);background-color:rgb(255, 255, 255);display:inline !important">CLIENT=myserver.com</span><span style="margin:0px;font-size:small;font-family:Arial, Helvetica, sans-serif;color:rgb(34, 34, 34);background-color:rgb(255, 255, 255);display:inline !important">&amp;SECT</span><wbr style="color:rgb(34, 34, 34);font-family:Arial, Helvetica, sans-serif;font-size:small;background-color:rgb(255, 255, 255)"><span style="margin:0px;font-size:small;font-family:Arial, Helvetica, sans-serif;color:rgb(34, 34, 34);background-color:rgb(255, 255, 255);display:inline !important">ION=file:/path/to/myfile</span><span style="margin:0px;font-size:small;font-family:Arial, Helvetica, sans-serif;color:rgb(34, 34, 34);background-color:rgb(255, 255, 255);display:inline !important">">/</span><span style="margin:0px;font-size:small;background-color:rgb(255, 255, 255);display:inline !important">path/to/myfile</span><span style="margin:0px;font-size:small;font-family:Arial, Helvetica, sans-serif;color:rgb(34, 34, 34);background-color:rgb(255, 255, 255);display:inline !important"></a></span></span><span style="margin:0px;font-size:12pt;font-family:Calibri, Helvetica, sans-serif;color:rgb(0, 0, 0)"><span style="margin:0px;font-size:small;font-family:Arial, Helvetica, sans-serif;color:rgb(34, 34, 34);background-color:rgb(255, 255, 255);display:inline !important"> 
       </span></span></span></div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<span style="color:rgb(34, 34, 34);font-family:Arial, Helvetica, sans-serif;font-size:small;background-color:rgb(255, 255, 255);display:inline !important" class="elementToProof"><span style="margin:0px;font-size:12pt;font-family:Calibri, Helvetica, sans-serif;color:rgb(0, 0, 0)"><span style="margin:0px;font-size:small;font-family:Arial, Helvetica, sans-serif;color:rgb(34, 34, 34);background-color:rgb(255, 255, 255);display:inline !important"> 
       File is a  - should be file</span></span><br>
</span></div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<span style="color:rgb(34, 34, 34);font-family:Arial, Helvetica, sans-serif;font-size:small;background-color:rgb(255, 255, 255);display:inline !important" class="elementToProof"><br>
</span></div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<span style="color:rgb(34, 34, 34);font-family:Arial, Helvetica, sans-serif;font-size:small;background-color:rgb(255, 255, 255);display:inline !important" class="elementToProof">I have tried setting the alert "FORMAT" to TEXT, PLAIN and SMS, but this doesn't
 seem to have any effect. I have also tried sending the alert through the html_mail.pl extension scripts, and this doesn't seem to have any effect either. All I really want is a plain text message, which is easy to read. Does anyone know how I could clean this
 up?</span></div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<span style="color:rgb(34, 34, 34);font-family:Arial, Helvetica, sans-serif;font-size:small;background-color:rgb(255, 255, 255);display:inline !important" class="elementToProof"><br>
</span></div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<span style="color:rgb(34, 34, 34);font-family:Arial, Helvetica, sans-serif;font-size:small;background-color:rgb(255, 255, 255);display:inline !important" class="elementToProof">Example Alert Config:</span></div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<span style="color:rgb(34, 34, 34);font-family:Arial, Helvetica, sans-serif;font-size:small;background-color:rgb(255, 255, 255);display:inline !important" class="elementToProof">HOST=myserver.com                                                 <br>
        MAIL alerts@someone.who.cares.com REPEAT=240m COLOR=red FORMAT=TEXT<br>
</span></div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<span style="color:rgb(34, 34, 34);font-family:Arial, Helvetica, sans-serif;font-size:small;background-color:rgb(255, 255, 255);display:inline !important" class="elementToProof"><br>
</span></div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<span style="color:rgb(34, 34, 34);font-family:Arial, Helvetica, sans-serif;font-size:small;background-color:rgb(255, 255, 255);display:inline !important" class="elementToProof">Regards,</span></div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<span style="color:rgb(34, 34, 34);font-family:Arial, Helvetica, sans-serif;font-size:small;background-color:rgb(255, 255, 255);display:inline !important" class="elementToProof">Jonathan</span></div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<br>
</div>
</body>
</html>