[hobbit] bb-hist.sh strange problem

Henrik Stoerner henrik at hswn.dk
Tue Apr 12 09:17:26 CEST 2005


On Mon, Apr 11, 2005 at 11:23:56AM +0200, Thomas Ruecker wrote:
> I updated 2 of 3 hobbits now to 4.0.2 and didn't get any errors. But I 
> though one problem of 4.0.1 has been resolved. I got an alarm this night 
> from the sensor procs of one host. After 5 minutes, the problem was 
> solved. I also got a message about that. This morning I looked at the 
> history and can't find the entry. After looking into the logfile from 
> sensor, I found the entry, but bb-hist.sh don't show me this color-change.
> Here the part in the hist-file:
> ---snip---
> Fri Jan 14 15:06:36 2005 green  1105711596
> Tue Apr  5 16:02:32 2005 green 1112709752 16501
> Tue Apr  5 20:37:33 2005 red 1112726253 301

The first log-entry is invalid - there's no duration field on it.
If you change it to

   Fri Jan 14 15:06:36 2005 green  1105711596 6998156

does that fix the history display ? (The 6998156 is simply the
difference between th Jan 14 timestamp and the Apr 5 16:02 timestamp).

I vaguely recall this being discussed on the BB list a while
back. I'll have a look through the archives, and also look at making
the history log viewer more lenient towards this kind of error in the
logfile - now you've provided a nice testcase.


Regards,
Henrik



More information about the Xymon mailing list