Xymon Mailing List Archive search

Alerts STOP command not working

list Josh Luthman
Fri, 1 Mar 2019 10:10:40 -0500
Message-Id: <user-d0d569591ac9@xymon.invalid>

Sorry trying to sanitize let me repost...

# tail -n 14 alerts.cfg
HOST=windows10.imaginenetworksllc.com
  MAIL user-4c45a83f15cb@xymon.invalid COLOR=RED DURATION>60m REPEAT=60
RECOVERED
  STOP

HOST=%.*\.imaginenetworksllc\.com
  MAIL user-deaa665bc8d9@xymon.invalid COLOR=RED DURATION>15m RECOVERED FORMAT=SMS

HOST=*
  MAIL user-4c45a83f15cb@xymon.invalid COLOR=RED DURATION>5m REPEAT=60 RECOVERED

# include additional sections
directory /etc/xymon/alerts.d


Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX


On Fri, Mar 1, 2019 at 10:02 AM Ralph Mitchell <user-00a5e44c48c0@xymon.invalid>
wrote:
Just a minor nit-pick - does the actual file have the same typo in the
hostname in the first entry??

     HOST=windows10.imaignenetworksllc.com

Ralph Mitchell


On Fri, Mar 1, 2019 at 9:50 AM Josh Luthman <user-4c45a83f15cb@xymon.invalid>
wrote:
Does anyone have a working example of STOP?

The man page says:
#    STOP      - Valid for a recipient: If this recipient gets an
#                alert, recipients further down in alerts.cfg
#                are ignored.

This doesn't seem to be the case, though.  The second and third
statements are happening even though the first has a STOP.

HOST=windows10.imaignenetworksllc.com
  MAIL user-4c45a83f15cb@xymon.invalid COLOR=RED DURATION>60m REPEAT=60
RECOVERED
  STOP

HOST=%.*\.imaginenetworksllc\.com
  MAIL user-26969de5aefc@xymon.invalid COLOR=RED DURATION>15m RECOVERED FORMAT=SMS

HOST=*
  MAIL user-4c45a83f15cb@xymon.invalid COLOR=RED DURATION>5m REPEAT=60
RECOVERED


Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX