[rrd-users] Fetch resolution question

Scott Brumbaugh scottb at prolexic.com
Fri Jul 25 22:41:45 CEST 2008


Hi Richard,

Maybe rrd_xport can help.  It works a lot like rrd_graph but returns a
numeric timeseries instead of an image.  I think the rrd_xport
function might use rrd_fetch or something similar internally.


Scott B


On Fri, Jul 25, 2008 at 01:17:39PM -0400, Richard D Alloway wrote:
> 
> 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
> 
> _______________________________________________
> rrd-users mailing list
> rrd-users at lists.oetiker.ch
> https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users
> 



More information about the rrd-users mailing list