[Xymon] Getting "ATT0001.bin" attachments sometimes -- MAILC fix is already in place

Shawn Heisey hobbit at elyograg.org
Wed Aug 12 20:58:14 CEST 2015


Xymon server is version 0.1.4, the client in this instance is BBWin 0.13
on a Server 2012 R2 system.

Occasionally, I am seeing xymon alarms with ATT00001.bin attachments
instead of an actual message.

I already googled this, and applied the MAILC fix that I found to
xymonserver.cfg, but it's still happening sometimes.  I discovered some
other bad characters that needed to be removed, so my tr command is set
up to remove three characters:

# For the xymond_alert module
MAILC="/usr/bin/tr -d '\\001\\004\\015' | mail" # Command used to send
an e-mail with no subject
#MAILC="mutt -x"                                        # Command used
to send an e-mail with no subject
MAIL="$MAILC -s"                                # Command used to send
an e-mail with a subject

Looking in the attachment that I just received, I can see hex 0D
characters (carriage returns, octal 015) ... but the "tr" command that I
implemented should have removed them.

Either there's a bug, or I am missing something simple.  Can anyone
help?  I have not yet tried upgrading Xymon to the latest version.

Thanks,
Shawn



More information about the Xymon mailing list