[Xymon] Email alerts with attachments - known solution not working
Henrik Størner
henrik at hswn.dk
Wed Jan 29 14:03:14 CET 2014
Den 29-01-2014 00:44, Shawn Heisey skrev:
> On 1/28/2014 2:19 PM, Henrik Størner wrote:
>> Have you tried using a different mail client? If you are on a Linux
>> box, then installing a tool like "mutt" should be easy - I think it is
>> included in all of the common distributions, and it knows how to
>> handle non-ASCII content by setting the right MIME-type headers,
>> encoding text as base-64 and so on.
>>
>> As far as Xymon is concerned, mutt uses the same commandline syntax.
>> So you can just replace "mail" with "mutt" in the default MAILC
>> setting in xymonserver.cfg.
>
> I'm on CentOS 6. I installed mutt and changed MAILC to "mutt" ... but
> once I did that, I did not get any notifications at all. I'm trying
> "mutt -x" because the man page says that emulates mailx compose mode. Do
> I need to use something else?
Not "mutt -x", that requires someone sitting at a terminal. Just plain
MAILX="mutt"
works fine with my mutt+sendmail+CentOS 6.3 test setup.
I am not sure if it solves your problem with the weird characters. My
normal mail client (Thunderbird) displays UTF-8 and UTF-16 characters
without a hitch, but it does depend on the program you use to read the
alerts, and on how the text is generated. Neither of those are within
Xymon control.
Regards,
Henrik
More information about the Xymon
mailing list