[Xymon] xymon alert email

Poppy, Ben poppy.ben at marshfieldclinic.org
Tue Mar 19 23:00:21 CET 2013


Thanks, that took care of it and it's now sending mail correctly.

From: Jeremy Laidman [mailto:jlaidman at rebel-it.com.au]
Sent: Monday, March 18, 2013 5:36 PM
To: Poppy, Ben
Cc: xymon at xymon.com
Subject: Re: [Xymon] xymon alert email

On 19 March 2013 07:06, Poppy, Ben <poppy.ben at marshfieldclinic.org<mailto:poppy.ben at marshfieldclinic.org>> wrote:
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.

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:

  http://lists.xymon.com/pipermail/xymon/2012-December/036286.html

J



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?

Thanks,
-Ben

______________________________________________________________________
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.
_______________________________________________
Xymon mailing list
Xymon at xymon.com<mailto:Xymon at xymon.com>
http://lists.xymon.com/mailman/listinfo/xymon

______________________________________________________________________
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20130319/5204e1ad/attachment.html>


More information about the Xymon mailing list