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)" support at innovateteam.com
Thank you.
*Kris Springer* *=======================*
On Sun, Nov 10, 2013 at 12:15 PM, Carl Inglis <Carl.Inglis at rakon.com> wrote:
Who are you running that command as? Make sure you’re doing it using “su [user] –c [command” – that way you can replicate the situation as it would be from inside Xymon.
Regards,
Carl
*From:* Xymon [mailto:xymon-bounces at xymon.com] *On Behalf Of *Kris Springer *Sent:* 10 November 2013 18:34 *To:* Henrik Størner *Cc:* Xymon MailingList *Subject:* Re: [Xymon] not receiving alerts
When I run that command I receive an email with the info that's defined in the command.
I think we're making progress tracking this down. It appears that things are working via command line, just not when automated.
Thank you.
*Kris Springer*
*=======================*
On Sun, Nov 10, 2013 at 4:34 AM, Henrik Størner <henrik at hswn.dk> wrote:
So, what happens if you run this command from the commandline:
On 10-11-2013 02:35, Kris Springer wrote:
echo "mail test" | mail -s "Xymon [12345] VM-Firewall:proc CRITICAL (RED)" support at innovateteam.com
Your notifications.log file shows that the alerts are being generated, so we can now rule out problems with the alerts.cfg configuration.
Regards, Henrik Carl Inglis