[Xymon] Alerts Stopped Working with DURATION Keyword

Stephen Carville (xymon list) scarville at lereta.com
Sun Dec 31 06:35:14 CET 2017


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 covinacomputerroom at lereta.com COLOR=red DURATION>10
  SCRIPT /var/xymon/server/bin/sendsms 2135551212 at txt.att.net 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 covinacomputerroom at lereta.com
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 2135551212 at txt.att.net

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.



More information about the Xymon mailing list