Xymon Mailing List Archive search

Alerts Stopped Working with DURATION Keyword

list Stephen Carville Xymon List
Sat, 30 Dec 2017 21:35:14 -0800
Message-Id: <user-b995e5adfd6d@xymon.invalid>

While trying to add a new alert to alerts.cfg I seem to have killed all
my alerts. For testing I whittled the alerts.cfg down to one entry:

## proxy servers
HOST=scadmzprx01.lereta.com     SERVICE=conn,http
  MAIL user-38d867ed794e@xymon.invalid COLOR=red DURATION>10
  SCRIPT /var/xymon/server/bin/sendsms user-d571bdabde19@xymon.invalid FORMAT=sms

I ran xymond_alert

$ ./xymond_alert --test scadmzprx01.lereta.com conn
00064299 2017-12-30 21:11:40 send_alert scadmzprx01.lereta.com:conn
state Paging
00064299 2017-12-30 21:11:40 Matching host:service:dgroup:page
'scadmzprx01.lereta.com:conn:Proxies:CADMZ' against rule line 14
00064299 2017-12-30 21:11:40 *** Match with 'HOST=scadmzprx01.lereta.com
SERVICE=conn,http' ***
00064299 2017-12-30 21:11:40 Matching host:service:dgroup:page
'scadmzprx01.lereta.com:conn:Proxies:CADMZ' against rule line 15
00064299 2017-12-30 21:11:40 Failed 'MAIL user-38d867ed794e@xymon.invalid
COLOR=red DURATION>10' (min. duration 0<601)
00064299 2017-12-30 21:11:40 Matching host:service:dgroup:page
'scadmzprx01.lereta.com:conn:Proxies:CADMZ' against rule line 14
00064299 2017-12-30 21:11:40 *** Match with 'HOST=scadmzprx01.lereta.com
SERVICE=conn,http' ***
00064299 2017-12-30 21:11:40 Script alert with command
'/var/xymon/server/bin/sendsms' and recipient user-d571bdabde19@xymon.invalid

Why does the MAIL option fail?  It works if I remove the DURATION keyword.

FTTB I removed the delayed notifications but I'd like them back

I am using xymon version 4.3.28.