On Sat, Mar 26, 2005 at 06:23:07PM -0500, Terry Barnes wrote:
I have the following entry in hobbit-alerts.cfg:
HOST=myhost SERVICE=myservice TIME=W:0000:2359,6:0000:2130,0:0500:2359
The bb-display.log shows:
Bad timespec (missing colon or wrong weekdays): W:0000:2359
It's a bug. Fortunately it's one that has already been fixed, because I decided the time-handling code was pretty ugly so I rewrote some of it.
Attached is a patch - goes on top of the "post-rc6" patch that I can see you have applied.
(It's annoying that this particular piece of code has been so problematic. It was originally written as a small stand-alone tool for a BB extension script, then modified to be part of the bbgen "features" patch, then transplanted into Hobbit. So I guess it was due for a major overhaul).
Regards, Henrik