Xymon Mailing List Archive search

not receiving alerts

list Kris Springer
Sun, 10 Nov 2013 12:19:50 -0800
Message-Id: <CAEmR0ci-ZxzQ_S8_MYuPr2eWMcsPsm=user-492ab891aa1f@xymon.invalid>

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.
*Kris Springer*
*=======================*


On Sun, Nov 10, 2013 at 12:15 PM, Carl Inglis <user-96685bdc864b@xymon.invalid> 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 <user-ce4a2c883f75@xymon.invalid> 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)"
user-800263fcb636@xymon.invalid

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