[rrd-users] FMAX, MIN, LAST with GAUGE data

Németh László Laszlo.Nemeth at netvisor.hu
Tue Jan 28 09:22:57 MET 2003


Hi,

it seems I do not understand how MAX, MIN, and LAST are calculated.

I made the following database:
 ./rrdtool create test.rrd --step 60 DS:x:GAUGE:60:U:U RRA:MAX:.5:1:10 RRA:MIN:.5:1:10 RRA:LAST:.5:1:10

after this I dumped the content:
for lastupdate it states: 1043739409, and the last data of the 10 at each RRA is
1043739360, so I picked the next full 60s interval and added the measurements:

./rrdtool update test.rrd 1043739430:12
./rrdtool update test.rrd 1043739440:14
./rrdtool update test.rrd 1043739450:15
./rrdtool update test.rrd 1043739460:16
./rrdtool update test.rrd 1043739470:17
./rrdtool update test.rrd 1043739480:18

dumped the conten again or fetch the last RRA values:
./rrdtool fetch test.rrd --start 1043739470 LAST
1043739480: 1.5333333333e+001

./rrdtool fetch test.rrd --start 1043739470 MIN
1043739480: 1.5333333333e+001

./rrdtool fetch test.rrd --start 1043739470 MAX
1043739480: 1.5333333333e+001

can anybody tell me why are the MIN,MAX and LAST values equal? 
and why they equal AVERAGE???

I downloaded and run RRDTOOL 1.0.40 precompiled for windows.

Please help, thx
Laszlo

--
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