[rrd-users] Controlling time interval on graphing

robstar robstar at gmail.com
Fri May 22 22:35:08 CEST 2009


Not that anybody reads this forum.. but it looks like it wasn't rendering a
graph because some of the data is NaN... I have to figure out how to catch
the rendering error...




robstar wrote:
> 
> I have a feeling it's because I have 2 AVERAGE RRAs....  is there a way to
> distinguish them?  
> 
> I think the graph is picking the first one, which only holds the last
> 24hrs... how can I tell it to pick the HOURLY AVERAGE ?
> 
> 
> 
> robstar wrote:
>> 
>> I recently started using RRD and it's awesome.... but I can't get it to
>> plot more than the last 24hrs of data...
>> 
>> here is my setup:
>> 
>> rrdtool create temperature.rrd --step 60 \
>>   DS:temp:GAUGE:300:-273:5000 \
>>   RRA:AVERAGE:0.5:1:1440 \
>>   RRA:MIN:0.5:60:2400 \
>>   RRA:MAX:0.5:60:2400 \
>>   RRA:AVERAGE:0.5:60:2400
>> 
>> 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-tp23648453p23676670.html
Sent from the RRDTool - User mailing list archive at Nabble.com.



More information about the rrd-users mailing list