Just a few things that may be bugs:
If I define an alert with DURATION>90, the info column shows it as "1h" instead of "90min".
Hobbit-alerts.cfg says that you can do HOST=%www.* to match anything *starting* with www, but I'm seeing that it actually matches *anything* with www in it. I had to do HOST=%^www.*. I guess if I knew Perl regex better I would have realized this in the first place.
On the bb2 page, in the list of events in the past xxx minutes, if a test goes from "red/yellow/green" to blue, and you click on the blue image, it doesn't show the blue status page. It shows the status of what it changed from. All other colors seem to work fine, just blue does this.
Small issues, just wanted to point them out.
Hobbit is doing great so far...
David Stuffle
Delta Faucet Company
This email and any files transmitted with it are confidential and intended
solely for the use of the individual or entity to whom they are addressed.
If you have received this email in error please notify the system manager.
Please note that any views or opinions presented in this email are solely
those of the author and do not necessarily represent those of the company.
Finally, the recipient should check this email and any attachments for the
presence of viruses. The company accepts no liability for any damage caused
by any virus transmitted by this email.
On Thu, Apr 07, 2005 at 04:42:00PM -0500, Stuffle, David wrote:
Just a few things that may be bugs:
- If I define an alert with DURATION>90, the info column shows it as "1h" instead of "90min".
Indeed, there were some missing parenthesis and stuff in the routine that did this string formatting. Fixed with the first of the attached patches.
- Hobbit-alerts.cfg says that you can do HOST=%www.* to match anything *starting* with www, but I'm seeing that it actually matches *anything* with www in it. I had to do HOST=%^www.*. I guess if I knew Perl regex better I would have realized this in the first place.
Me too :-) I've corrected to sample regex to match the description.
- On the bb2 page, in the list of events in the past xxx minutes, if a test goes from "red/yellow/green" to blue, and you click on the blue image, it doesn't show the blue status page. It shows the status of what it changed from. All other colors seem to work fine, just blue does this.
After digging around for some time, I found out that this is really an issue that happens with the Hobbit-internal status changes (blue and purple) - you'll also see it if you go via the "History" button and select a blue or purple log.
When a status goes blue or purple, this only changes the color stored internally in Hobbit, it doesn't change the actual status message text that is stored in the historical logfile (which includes the color-text). So all of the Hobbit-maintained event-logs will show the correct color, but the historical logfile does not. So I fixed this in the module that saves the historical log - this means that it will not have any effect on the previous historical logs, only on the ones that are processed after you install the patch.
Regards, Henrik
participants (2)
-
dstuffle@deltafaucet.com
-
henrik@hswn.dk