Xymon Mailing List Archive search

xymon alert email

list Jeremy Laidman
Tue, 19 Mar 2013 09:36:29 +1100
Message-Id: <user-342f737c6bee@xymon.invalid>

On 19 March 2013 07:06, Poppy, Ben <user-1ce99a2a9ef8@xymon.invalid> 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.