[rrd-users] How to use LAST

Bjorn Nordbo bn at nextra.com
Tue Oct 31 11:21:13 MET 2000


I want to display the last value stored in an RRD archive, and I
thought and RRA using the LAST CF would be appropriate. This does
not, however, always work. For instance:

tollt(bn) bn 761$ rrdtool fetch isdn.rrd AVERAGE -s -10min -e now
                      ds0           ds1

 972986700: 1.4200000000e+02 0.0000000000e+00
 972987000: 1.4714000000e+02 0.0000000000e+00
 972987300: 1.4800000000e+02 0.0000000000e+00
 972987600: NaN NaN
tollt(bn) bn 762$ rrdtool fetch isdn.rrd LAST -s -10min -e now
                      ds0           ds1

 972985500: NaN NaN
 972987000: NaN NaN
 972988500: NaN NaN
tollt(bn) bn 763$ 

This RRD archive is created with the following RRA's:

RRA:AVERAGE:0.5:1:17856
RRA:AVERAGE:0.5:6:700
RRA:AVERAGE:0.5:24:775
RRA:AVERAGE:0.5:288:797
RRA:MAX:0.5:1:600
RRA:MAX:0.5:6:700
RRA:MAX:0.5:24:775
RRA:MAX:0.5:288:797
RRA:LAST:0.5:1:5

I assume I am simply wrong about the usage of the LAST CF, but I
cannot find any documentation covering its usage. If anyone could
explain this to me or point me in the right direction, it would
make me very happy. :)

-- 
Bjørn Nordbø  -  IP Development  -  Nextra Norway

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