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 stephenwong1015 at gmail.com SERVICE=rdp REPEAT=1h HOST=HomePC2 MAIL stephenwong1015 at gmail.com SERVICE=rdp DURATION>5 COLOR=red
Thanks and Regards Stephen
What are you running Xymon on (Ubuntu, CentOS, etc)? Are you able to send emails outside of Xymon?
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 stephenwong1015 at gmail.com<mailto:stephenwong1015 at gmail.com> SERVICE=rdp REPEAT=1h HOST=HomePC2 MAIL stephenwong1015 at gmail.com<mailto:stephenwong1015 at gmail.com> 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.
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 stephenwong1015 at gmail.com SERVICE=rdp REPEAT=1h HOST=HomePC2 MAIL stephenwong1015 at gmail.com 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 stephenwong1015 at gmail.com 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
participants (3)
-
cleaver@terabithia.org
-
Russell.Blumenthal@stonybrookmedicine.edu
-
stephenwong1015@gmail.com