[hobbit] acklog in bb2 question

Henrik Stoerner henrik at hswn.dk
Wed Aug 3 15:40:23 CEST 2005


On Wed, Aug 03, 2005 at 03:15:16PM +0200, Olivier Beau wrote:
> Currently i have in my bb2.html :
> "No events acknowledged in the last 240 minutes"
> 
> i would like to change those 240 minutes into 24 hours, only for the acklog.sh.
> 
> is these an option for this ? 

Not currently, but I've just added it.

> can i change a value somewhere in the source ?

In bbdisplay/pagegen.c, look for "do_acklog" (2 occurrences):

 if (bb2acklog && !havedoneacklog) do_acklog(output, 25, 240);

The 25 is the max count, 240 is the max. time (in minutes).
So change 240 to 1440.


Henrik




More information about the Xymon mailing list