[rrd-users] Fetch resolution question

Richard D Alloway ralloway at winbeam.com
Fri Jul 25 19:17:39 CEST 2008


Hi!

I have an RRD file that was built with a step of 60 sec and the following 
RRAs:

RRA:AVERAGE:0.25:1:10000
RRA:AVERAGE:0.25:10:1000 
RRA:AVERAGE:0.25:120:800
RRA:AVERAGE:0.25:2880:800
RRA:AVERAGE:0.25:92160:100

Regardless of the resolution, start and end times used, I can only get 'rrdtool 
fetch' to return 60, 600, 7200, etc second values.

For instance:

 	rrdtool fetch <file>.rrd AVERAGE -r 3600 -e 1217001600 -s e-24hr

returns 60 sec resolution, as does:

 	rrdtool fetch <file>.rrd AVERAGE -r 3600 -e 1217001600 -s 1216915200

I'd like to fetch 1 hour values for the last 24 hours, which I assumed I 
could do since I have about 7 days of 60 second data (10000 rows).

Is this not the case?  Do I need to rebuild the RRD file with a 
RRA:AVERAGE:0.25:60:240 RRA for 10 days of 1 hr data?

Any idea what I'm doing wrong?

Thanks!

-Rich



More information about the rrd-users mailing list