Xymon Mailing List Archive search

alerts.cfg "TIME=" broken in v4.3.19?

list Japheth Cleaver
Mon, 13 Apr 2015 11:15:19 -0700
Message-Id: <user-9c397eb27349@xymon.invalid>

On Mon, April 13, 2015 11:13 am, Andy Smith wrote:
J.C. Cleaver wrote:
When you do a "xymoncmd xymond_alert --dump-config" do the 'TIME' lines
show up properly? And, generally speaking... is the interval selection
working?

I just want to try to narrow down if this is a display issue in the CGI
or
something going wrong with the parsing generally.

-jc


On Mon, April 13, 2015 5:55 am, Scot Kreienkamp wrote:
Confirmed here as well.

Scot Kreienkamp

From: Xymon [mailto:xymon-bounces at xymon.com] On Behalf Of Brandon Dale
Sent: Monday, April 13, 2015 1:01 AM
To: Gavin Stone-Tolcher; xymon at xymon.com
Subject: Re: [Xymon] alerts.cfg “TIME=” broken in v4.3.19?

The same thing is happening for me in 4.3.19

I have TIME=*:0800:2200 in alerts.cfg and it now shows as “-“ in info
column and the config report

Regards,


Brandon

From: Xymon [mailto:xymon-bounces at xymon.com] On Behalf Of Gavin
Stone-Tolcher
Sent: Monday, 13 April 2015 10:09 AM
To: xymon at xymon.com<mailto:xymon at xymon.com>
Subject: [Xymon] alerts.cfg “TIME=” broken in v4.3.19?

Hi, I am seeing something unusual in the “info” display for alerting
on
v4.3.19:

alerts.cfg entry:

HOST=mixtec.cc.uq.edu.au SERVICE=fping,bbd
        MAIL
user-768678d61110@xymon.invalid<mailto:user-768678d61110@xymon.invalid>
DURATION>3m TIME=W:0945:1800 COLOR=red REPEAT=1w FORMAT=SMS
RECOVERED

“info” for mixtec.cc.uq.edu.au (v4.3.19)

Alerting:
Service Recipient             1st Delay              Stop after
Repeat Time of Day        Colors
bbd
user-768678d61110@xymon.invalid<mailto:user-768678d61110@xymon.invalid> (R)
    3m 1s    -              1w          -              red
fping
user-768678d61110@xymon.invalid<mailto:user-768678d61110@xymon.invalid> (R)
    3m 1s    -              1w          -              red

Notice “-“ for “Time of Day”!


“info” for mixtec.cc.uq.edu.au (reverted to v4.3.18)

Alerting:
Service Recipient             1st Delay              Stop after
Repeat Time of Day        Colors
bbd
user-768678d61110@xymon.invalid<mailto:user-768678d61110@xymon.invalid> (R)
    3m 1s    -              1w          W:0945:1800      red
fping
user-768678d61110@xymon.invalid<mailto:user-768678d61110@xymon.invalid> (R)
    3m 1s    -              1w          W:0945:1800      red

“Time of Day” seems correct.

Is anyone else seeing similar?


Cheers,
Gavin Stone-Tolcher, IT Support Officer, Network Operations and
Incident
Display issue.  Tested today, the alerts worked for me as expected.
--
Andy
Thanks...

Yeah, looks like this was caused by a bug when EXTIME support was added.
This should be fixed in 4.3.20.


Regards,
-jc