<div dir="ltr">On 19 March 2013 07:06, Poppy, Ben <span dir="ltr"><<a href="mailto:poppy.ben@marshfieldclinic.org" target="_blank">poppy.ben@marshfieldclinic.org</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote">

<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">I recently moved one of my xymon servers from a CentOS 5 to CentOS 6.4 server. I have 1 alert configured to email me the details of any alert that is alerting longer than 30 minutes, and when it recovers. Before, on the CentOS 5 server, it would work as normal and the alert was in the body of the message. Now that it's on CentOS 6.4, it's having the alert in an attachment, and nothing in the body.<br>

</blockquote><div><br></div><div style>Yeah, it's the treatment of carriage-returns by the mail client.  You could see if "mutt" is available and use that instead of the default "mail" binary, or set MAIL to be a pipeline using "tr" to strip out carriage returns.  Example shown here:</div>

<div style><br></div><div style>  <a href="http://lists.xymon.com/pipermail/xymon/2012-December/036286.html" rel="noreferrer">http://lists.xymon.com/pipermail/xymon/2012-December/036286.html</a></div><div style><br></div>

<div style>J</div><div style><br></div><div style> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">

<br>
Searching for a solution seems to indicate it's something with how the body of the message is created by xymon and new line carriage returns. But I wasn't able to see any solution other than maybe writing an external script to modify the alert before sending with mail, or mailx. Does anyone have an easy way to fix this with a setting in xymon itself?<br>


<br>
Thanks,<br>
-Ben<br>
<br>
______________________________________________________________________<br>
The contents of this message may contain private, protected and/or privileged information.  If you received this message in error, you should destroy the e-mail message and any attachments or copies, and you are prohibited from retaining, distributing, disclosing or using any information contained within.  Please contact the sender and advise of the erroneous delivery by return e-mail or telephone.  Thank you for your cooperation.<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></div>