[rrd-users] Re: RRA and graph question

George Dau gedau at isa.mim.com.au
Sat Aug 11 06:09:28 MEST 2001


Your create is wrong. Use something more along the lines of:

rrdtool create /rrd/environ/mobile.rrd -b 984098279 \
DS:temp:GAUGE:600:5:110 \
RRA:MAX:0.99:1:600 \
RRA:MIN:0.99:1:600 \
RRA:AVERAGE:0.99:1:600 \
RRA:MAX:0.99:6:700 \
RRA:MIN:0.99:6:700 \
RRA:AVERAGE:0.99:6:700 \
RRA:MAX:0.99:24:775 \
RRA:MIN:0.99:24:775 \
RRA:AVERAGE:0.99:24:775 \
RRA:MAX:0.99:288:797 \
RRA:MIN:0.99:288:797 \
RRA:AVERAGE:0.99:288:797

-----Original Message-----
From: Michael Smith [mailto:msmith at staff.texas.net]
Sent: Saturday, 11 August 2001 9:32 AM
To: rrd-users at list.ee.ethz.ch
Subject: [rrd-users] RRA and graph question



I want to start collecting weather data, i.e. temperature and
had a question about creating my rrd file and graphing it.
I would like to store 5 minute samples of the temperature as well
as the daily temp min/avg/max.  Here is where the question comes in.
I would like to store them all in one logical rrd file using something
like...

rrdtool create temp.rrd -s300 DS:temperature:GAUGE:600:0:120
    RRA:AVERAGE:.5:1:210816 RRA:MIN:.5:288:731 RRA:MAX:.5:288:731
    RRA:AVERAGE:.5:288:731

Is this legal?  It seems to create just fine and rrdtool info
shows 4 RRAs.  If it is legal, how do you tell your graph
to use the daily average RRA instead of the 5min average?

rrdtool graph temperature.png -send-1week DEF:tmin=temp.rrd:temperature:MIN
    DEF:tavg=temp.rrd:temperature:AVERAGE
    DEF:tmax=temp.rrd:temperature:MAX
    LINE1:tmin#00ff00:Min
    LINE1:tavg#0000ff:Avg
    LINE1:tmax#ff0000:Max

This gives me my daily min and max temperature, but uses the 5 minute
averages for the average.  I would like to use the daily average
in this case and use the 5 minute average in another graph,
without having to create and maintain 2 different rrd files.
Is this possible?

--
Michael Smith

--
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive     http://www.ee.ethz.ch/~slist/rrd-users
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi


**********************************************************************
The information contained in this e-mail is confidential and is
intended only for the use of the addressee(s).
If you receive this e-mail in error, any use, distribution or 
copying of this e-mail is not permitted. You are requested to
forward unwanted e-mail and address any problems to the 
MIM Holdings Limited Support Centre.

e-mail: supportcentre at mim.com.au
phone: Australia 1800500646
            International ++61 7 38338042
**********************************************************************

--
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive     http://www.ee.ethz.ch/~slist/rrd-users
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the rrd-users mailing list