Xymon Mailing List Archive search

not receiving alerts

list Jeremy Laidman
Mon, 11 Nov 2013 11:15:38 +1100
Message-Id: <user-ec209dca3a5f@xymon.invalid>

On 11 November 2013 07:19, Kris Springer <user-c2caa0a7a8d5@xymon.invalid> wrote:
When I run the following command it works and I receive an email
immediately.

su xymon -c echo "mail test" | mail -s "Xymon [12345] VM-Firewall:proc
CRITICAL (RED)" user-800263fcb636@xymon.invalid


Thank you.
The environment might have something to do with it, so should be tested,
and at least eliminated from our enquiries.  When Xymon runs the command,
it does so using the Xymon server environment, including PATH and MAIL.  To
test, try running the command like this:

su xymon -c xymoncmd
echo "mail test" | $MAIL "Xymon [12345] VM-Firewall:proc CRITICAL (RED)"
user-800263fcb636@xymon.invalid

J