All my HTTP recovered alerts have attachments which just contain the output of the http test, not sure why, I've just put up with it…. (xymon-4.3.10 running on rhel6.2 which uses mailx as mail)
On 13/12/2012, at 11:08 PM, F.Reenders at utwente.nl<mailto:F.Reenders at utwente.nl> wrote:
I only noticed this .dat attachement in the smtp test alert by the way.
Regards,
Frederik
From: xymon-bounces at xymon.com<mailto:xymon-bounces at xymon.com> [mailto:xymon-bounces at xymon.com<mailto:bounces at xymon.com>] On Behalf Of F.Reenders at utwente.nl<mailto:F.Reenders at utwente.nl> Sent: donderdag 13 december 2012 9:50 To: ejacobs at thomaspublishing.com<mailto:ejacobs at thomaspublishing.com>; xymon at xymon.com<mailto:xymon at xymon.com> Subject: Re: [Xymon] DAT attachments?
Hi,
I think this is the issue(from the man page of mailx on centos 6.3:
“Mailx expects input text to be in Unix format, with lines sepa- rated by newline (^J, \n) characters only. Non-Unix text files that use carriage return (^M, \r) characters in addition will be treated as binary data; to send such files as text, strip these characters e. g. by
tr -d ’\015’ <input | mailx . . .
or fix the tools that generate them.”
There is a \r carriage return in the alert message. I noticed it before but got no reply on the list. In previous mailx versions mailx did not convert it to binary data.
Regards,
Frederik Reenders University of Twente
From: xymon-bounces at xymon.com<mailto:xymon-bounces at xymon.com> [mailto:xymon-bounces at xymon.com] On Behalf Of Eric Jacobs Sent: woensdag 12 december 2012 21:52 To: xymon at xymon.com<mailto:xymon at xymon.com> Subject: [Xymon] DAT attachments?
Recently noved our Xymon server from a vm running CentOS 5.8 to physical server running CentOS 6.3. Most things work correctly but I'm seeing some of the email alerts having .dat attachments. Anyone know why, and how to fix this?
-- Eric Jacobs Thomas Publishing Company Infrastructure and operations Information Technology Group Phone: 215-494-7312 Email: ejacobs at thomaspublishing.com<mailto:ejacobs at thomaspublishing.com>
Xymon mailing list Xymon at xymon.com<mailto:Xymon at xymon.com> http://lists.xymon.com/mailman/listinfo/xymon