[rrd-users] Controlling time interval on graphing

robstar robstar at gmail.com
Fri May 22 20:26:11 CEST 2009


I recently started using RRD and it's awesome.... but I can't get it to plot
more than the last 24hrs of data...

The graphing seems to be picking the first AVERAGE RRA instead of the 2nd
one in my definition.. how do I distinguish between the two???

here is my setup:

rrdtool create temperature.rrd --step 60 \
  DS:temp:GAUGE:300:-273:5000 \
  RRA:AVERAGE:0.5:1:1440 \   <-- IT CHOOSES THIS ONE
  RRA:MIN:0.5:60:2400 \
  RRA:MAX:0.5:60:2400 \
  RRA:AVERAGE:0.5:60:2400  <---- I WANT TO PLOT THIS ONE

doesn't this store more than 1 day of data for me?

If I leave out the --start/end I get the last 24hrs...  and here's what I
use to generate the graph for today:

rrdtool graph temp.png DEF:t=/var/www/eheat/rrd/temperature.rrd:temp:AVERAGE
-w 600 -h 300 --start 1242878400 --end 1242964799

how can I get the last week?  last month?  any interval I want?  anything
but the string above generates a blank graph!!

Thanks for your help.

-- 
View this message in context: http://www.nabble.com/Controlling-time-interval-on-graphing-tp23648453p23648453.html
Sent from the RRDTool - User mailing list archive at Nabble.com.



More information about the rrd-users mailing list