[rrd-users] graphing with TREND

Petteri Matilainen pmatil at gmail.com
Tue Nov 27 20:47:45 CET 2007


Hi again,

I've been experimenting with TREND to graph average temps which I 
mentioned earlier. The question is why this line doesn't give anything:

CDEF:trnd=Inside,86400,TREND

Obviously the previous line is:

DEF:Inside=/var/digitemp/temperature.rrd:in:AVERAGE

Then I try to graph it with:

LINE1:trnd#2AFF00:"Average"

What am I doing wrong, or is this a limitation of TREND? There is a 
possibility that I've somehow created the rrd incorrectly. Details of 
temperature.rrd:

# 2 months of 60 sec samples = 43200
# 2 years of average of 1 day = 1440
# 2 years of average of 1 week = 10080
# 2 years of average of 1 month = 43200
# 3 years of average of 1 year = 525600

rrdtool create /var/digitemp/temperature.rrd --step 60 \
        DS:out:GAUGE:600:-50:50 \
        DS:in:GAUGE:600:-50:50 \
        RRA:AVERAGE:0.5:1:43200 \
        RRA:AVERAGE:0.5:1440:730 \
        RRA:AVERAGE:0.5:10080:105 \
        RRA:AVERAGE:0.5:43200:25 \
        RRA:AVERAGE:0.5:525600:3 \
        RRA:MIN:0.5:1:43200 \
        RRA:MIN:0.5:1440:730 \
        RRA:MIN:0.5:10080:105 \
        RRA:MIN:0.5:43200:25 \
        RRA:MIN:0.5:525600:3 \
        RRA:MAX:0.5:1:43200 \
        RRA:MAX:0.51440:730 \
        RRA:MAX:0.5:10080:105 \
        RRA:MAX:0.5:43200:25 \
        RRA:MAX:0.5:525600:3
 
cheers,

Petteri Matilainen



More information about the rrd-users mailing list