Xymon Mailing List Archive search

DAT attachments?

list Francois Herbert
Thu, 13 Dec 2012 19:04:47 +0000
Message-Id: <user-095097ed03aa@xymon.invalid>

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, user-cc7d361f1cad@xymon.invalid<mailto:user-cc7d361f1cad@xymon.invalid> 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:user-2ce0a6b6a2e5@xymon.invalid>] On Behalf Of user-cc7d361f1cad@xymon.invalid<mailto:user-cc7d361f1cad@xymon.invalid>
Sent: donderdag 13 december 2012 9:50
To: user-2ad24e73f3d4@xymon.invalid<mailto:user-2ad24e73f3d4@xymon.invalid>; 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: XXX-XXX-XXXX
Email: user-2ad24e73f3d4@xymon.invalid<mailto:user-2ad24e73f3d4@xymon.invalid>