Xymon Mailing List Archive search

Alerts Mail Problem

3 messages in this thread

list Stephen Wong · Tue, 21 Oct 2014 16:36:23 +0800 ·
Dear Xymon,

Thanks for your open source licensed software,,i have a trouble configure
on the e-mail alert, i had add the mail and following the example, but i
cannot get the alerts mail....would u pls help to solve the problem.

/home/xymon/server/etc/alerts.cfg

HOST=HomePC1
         MAIL user-b3ca4af6e1e6@xymon.invalid SERVICE=rdp REPEAT=1h
HOST=HomePC2
         MAIL user-b3ca4af6e1e6@xymon.invalid SERVICE=rdp DURATION>5 COLOR=red

Thanks and Regards
Stephen
list Russell Blumenthal · Tue, 21 Oct 2014 20:55:25 +0000 ·
What are you running Xymon on (Ubuntu, CentOS, etc)? Are you able to send emails outside of Xymon?
quoted from Stephen Wong

From: Xymon [mailto:xymon-bounces at xymon.com] On Behalf Of Stephen Wong
Sent: Tuesday, October 21, 2014 4:36 AM
To: xymon at xymon.com
Subject: [Xymon] Alerts Mail Problem

Dear Xymon,

Thanks for your open source licensed software,,i have a trouble configure on the e-mail alert, i had add the mail and following the example, but i cannot get the alerts mail....would u pls help to solve the problem.

/home/xymon/server/etc/alerts.cfg

HOST=HomePC1

         MAIL user-b3ca4af6e1e6@xymon.invalid<mailto:user-b3ca4af6e1e6@xymon.invalid> SERVICE=rdp REPEAT=1h
HOST=HomePC2
         MAIL user-b3ca4af6e1e6@xymon.invalid<mailto:user-b3ca4af6e1e6@xymon.invalid> SERVICE=rdp DURATION>5 COLOR=red

Thanks and Regards
Stephen


This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by e-mail and destroy all copies of the original.
list Japheth Cleaver · Tue, 21 Oct 2014 14:11:51 -0700 ·
quoted from Stephen Wong

On Tue, October 21, 2014 1:36 am, Stephen Wong wrote:
Dear Xymon,

Thanks for your open source licensed software,,i have a trouble configure
on the e-mail alert, i had add the mail and following the example, but i
cannot get the alerts mail....would u pls help to solve the problem.

/home/xymon/server/etc/alerts.cfg

HOST=HomePC1
         MAIL user-b3ca4af6e1e6@xymon.invalid SERVICE=rdp REPEAT=1h
HOST=HomePC2
         MAIL user-b3ca4af6e1e6@xymon.invalid SERVICE=rdp DURATION>5 COLOR=red

Thanks and Regards
Stephen

Stephen,

That syntax I *think* should work, but might normally be written:

HOST=HomePC2 SERVICE=rdp COLOR=red
     MAIL user-b3ca4af6e1e6@xymon.invalid DURATION>5

If neither works, you might want to check the $MAIL variable, making sure
/bin/mailx (or whatever it's set to) is working. Also, proper working of
your local mailer, etc....

HTH,

-jc