Xymon Mailing List Archive search

not receiving alerts

list Kris Springer
Sat, 9 Nov 2013 10:49:13 -0800
Message-Id: <user-dc0db7c0f780@xymon.invalid>

Here's my new alerts.cfg file.  It didn't change anything though.  I'm
still not receiving alerts.  To force a trouble situation I've got a line
in my hosts file that's checking for ssh on a machine that has it turned
off so it will cause a red alert.

HOST=*
  MAIL user-800263fcb636@xymon.invalid COLOR=red RECOVERED NOTICE


Thank you.
*Kris Springer*

*=======================*


On Sat, Nov 9, 2013 at 6:26 AM, Carl Inglis <user-96685bdc864b@xymon.invalid> wrote:
 Try having the HOST entry on one line, and the other entries on another
line:


HOST=*

    MAIL user-800263fcb636@xymon.invalid RECOVERED NOTICE


(I don’t know if your color keyword is valid with the commas)


The documentation says that the first line is the host line, the other
lines are one per recipient. So you could have:


HOST=*

                MAIL user-ae0aed9781ba@xymon.invalid COLOR=yellow
DURATION>10m NOTICE RECOVERED

                MAIL user-8b238e71d2af@xymon.invalid COLOR=yellow
DURATION>1h NOTICE RECOVERED

                MAIL user-6931ab0c56cc@xymon.invalid COLOR=yellow DURATION>5h
NOTICE RECOVERED

                MAIL user-8b238e71d2af@xymon.invalid COLOR=red NOTICE
RECOVERED

                MAIL user-6931ab0c56cc@xymon.invalid COLOR=red DURATION>120m
NOTICE RECOVERED


Hope that helps.


Carl


*From:* Kris Springer [mailto:user-c2caa0a7a8d5@xymon.invalid]
*Sent:* 09 November 2013 08:54
*To:* Carl Inglis
*Cc:* xymon at xymon.com
*Subject:* Re: [Xymon] not receiving alerts


Here's my alerts.cfg


HOST=*

COLOR=red,yellow

MAIL user-800263fcb636@xymon.invalid

RECOVERED

NOTICE


  Thank you.


*Kris Springer*

*=======================*