[rrd-users] Re: RRD Archiving (AVERAGE,MIN,MAX,LAST)
Alex van den Bogaerdt
alex at ergens.op.het.net
Sat Aug 9 13:09:25 MEST 2003
On Thu, Aug 07, 2003 at 04:00:45PM -0700, nate wrote:
> rrdtool create filename.rrd --step 300 DS:idle:GAUGE:600:0:100
> RRA:LAST:0.5:1:200000 RRA:MIN:0.5:1:200000 RRA:MAX:0.5:1:200000
> RRA:AVERAGE:0.5:1:200000
>
> I am interested in storing every data point collected for the
> 200000 cycles, would just making an archive with LAST be sufficient:
Interpolation will kick in, unless your updates *always* happen
on a time equalling n*300.
> rrdtool create filename.rrd --step 300 DS:some_name:GAUGE:600:0:100
> RRA:LAST:0.5:1:200000
>
> or do I also need archives for MIN MAX and AVERAGE as well? Will
> RRD not be able to calculate averages if I only store the raw data
> points?
If you're going to graph with a resolution of more than 300 seconds
per pixel, RRDtool will do some calculations.
LAST(1,3,2,5,4) == 4
MIN(1,3,2,5,4) == 1
MAX(1,3,2,5,4) == 5
AVG(1,3,2,5,4) == 3
which answer do you want to get if RRDtool consolidates 5 samples
into one at graph time? (rrdtool graph ... --start end-250h ...)
HTH
Alex
--
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