Xymon Mailing List Archive search

acklog in bb2 question

list Henrik Størner
Wed, 3 Aug 2005 15:40:23 +0200
Message-Id: <user-f4eecbc4abae@xymon.invalid>

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