Xymon Mailing List Archive search

acklog in bb2 question

list Olivier Beau
Wed, 3 Aug 2005 22:26:39 +0200
Message-Id: <user-efa93774b732@xymon.invalid>

great  !!
thank you henrik :)


Le 3 août 05 à 15:40, Henrik Stoerner a écrit :
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