[Xymon] blank recovered sms alerts on mail

Jeremy Laidman jlaidman at rebel-it.com.au
Thu May 23 09:49:08 CEST 2013


What's the OS that Xymon is running on?

What mail system runs on the Xymon server?

Xymon will probably execute the binary /usr/bin/mail.  What is
/usr/bin/mail?  Is it mailx or mutt or something else?  On
RedHat/Fedora/Centos/SUSE you can type "rpm -qi -f /usr/bin/mail" to find
out.  On Debian-based systems, try "dpkg -S /usr/bin/mail" to get the
package name, and "dpkg -s <pkgname>" to get the details.  From the error
message you gave, I suspect it is mailx.

Have you tried with FORMAT=PLAIN?

You could try setting MAIL and MAILC to use nail or mutt rather than mailx,
if you have them installed, something like this:

MAILC="/usr/bin/nail"

Some folks have had problems with mailx not liking carriage-return
characters.  Using nail should fix this, but this might also work:

MAILC="/usr/bin/tr -d '\\015' | mail"

J


On 23 May 2013 16:46, deepak deore <deepakdeore2004 at gmail.com> wrote:

> Yes, all 3 recipients have the same problem.
> alert.log has "Null message body; hope that's ok" message.
> I am using win7 with outlook 2010, MTA is amazon SES.
>
>
> On Thu, May 23, 2013 at 5:26 AM, Jeremy Laidman <jlaidman at rebel-it.com.au>wrote:
>
>> On 21 May 2013 22:06, deepak deore <deepakdeore2004 at gmail.com> wrote:
>>
>>> HOST=$PRD SERVICE=* EXSERVICE=disk
>>>         MAIL $ADMIN color=red,yellow REPEAT=20 RECOVERED NOTICE
>>> format=sms
>>>         MAIL $MANAGER color=red,yellow DURATION>20 REPEAT=20 RECOVERED
>>> NOTICE format=sms
>>>         MAIL mail at example.com color=red,yellow REPEAT=60 RECOVERED
>>> NOTICE
>>>
>>
>> Are all 3 recipients having the same problem?
>>
>> Are there any interesting messages in the alert.log file?
>>
>> What OS are you using, and what mail client and MTA?
>>
>> J
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20130523/393470fc/attachment.html>


More information about the Xymon mailing list