acklog in bb2 question
list Olivier Beau
Hi all, 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 ? can i change a value somewhere in the source ? -- Olivier Beau
list Henrik Størner
▸
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
list Olivier Beau
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