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 that particular host is green nothing happens. When I make it red and 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<mailto: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<mailto: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 Systems Administrator
Rakon UK Limited Dowsett House, Sadler Road, Lincoln LN6 3RS, United Kingdom Tel: +44 1522 812630 | Fax: +44 1522 812664 | Mob: +44 7786 552915 Carl.Inglis at rakon.com | www.rakon.com
[The Queens Awards for Enterprise 2012]
[Rakon Logo]
This message together with any attachments contains confidential information and may be subject to privilege. If you are not the intended recipient you may not distribute it in any way, you must notify the sender immediately and delete any copies of the message along with its attachments.
Rakon UK Ltd is a limited company registered in England and Wales. Registered Office: Dowsett House, Sadler Road, Lincoln LN6 3RS Company Registration Number: 5128090.
Please be aware that Rakon UK Limited may monitor email traffic data including the date, time, subject line, sender and recipients for the purposes of security and usage monitoring. Automated monitoring systems may also be applied to ascertain whether incoming/outgoing emails are likely to contain viruses, other destructive devices or inappropriate content.
Xymon mailing list Xymon at xymon.com<mailto:Xymon at xymon.com> http://lists.xymon.com/mailman/listinfo/xymon