[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [hobbit] rrd question



Beau Olivier a écrit :
> Hi,
> 
> Is it possible set change the default storage history in hobbit's rrd
> files ?
> -> i'ld like to be able to zoom in a graph and have a precise view on
> the last 30 days, not just the last 48 hours..

It seems the settings are hardcoded into hobbitd/do_rrd.c :

static char rra1[] = "RRA:AVERAGE:0.5:1:576";
static char rra2[] = "RRA:AVERAGE:0.5:6:576";
static char rra3[] = "RRA:AVERAGE:0.5:24:576";
static char rra4[] = "RRA:AVERAGE:0.5:288:576";

You'll have to modify these and recompile.