[rrd-users] rrdtool fetch returns in scientific notation (help!)

Sandor W. Sklar ssklar at stanford.edu
Thu Apr 12 00:31:38 MEST 2001


Hi, Folks ...

I'm brand-new at using rrdtool, and I'm trying to get my feet wet 
with a simple RRD, but I'm already hitting a problem:

First, I'm using ... $ rrdtool -v
RRDtool 1.0.33  Copyright 1997-2001 by Tobias Oetiker <tobi at oetiker.ch>

... built on AIX 433, with native C for AIX (xlC) compiler.

I create a new RRD with the command ...

rrdtool create test.rrd --start 987015000 DS:aio:COUNTER:600:U:U 
RRA:AVERAGE:0.5:1:300

I then add data to the RRD, with the command ...

rrdtool update test.rrd \
987015001:3 \
987015300:3 \
987015600:4 \
987015900:5 \
987016200:5 \
987016500:5 \
987016800:6 \
987017100:7 \
987017400:8 \
987017700:10 \
987018000:10 \
987018300:10 \
987018600:11 \
987018900:12 \
987019201:12

... which seems to work fine.  But then, I do ...

rrdtool fetch test.rrd AVERAGE --start 987015001 --end 987019201

... which returns ...

                       aio

  987015000: NaNQ
  987015300: 0.0000000000e+00
  987015600: 3.3333333333e-03
  987015900: 3.3333333333e-03
  987016200: 0.0000000000e+00
  987016500: 0.0000000000e+00
  987016800: 3.3333333333e-03
  987017100: 3.3333333333e-03
  987017400: 3.3333333333e-03
  987017700: 6.6666666667e-03
  987018000: 0.0000000000e+00
  987018300: 0.0000000000e+00
  987018600: 3.3333333333e-03
  987018900: 3.3333333333e-03
  987019200: 0.0000000000e+00
  987019500: NaNQ

Note the incorrect values, returned in scientific notation.  I 
searched through the list archives, but saw no reference to anything 
similar.

any clues?

Thanks...  -s-
-- 
   sandor w sklar
   unix systems administrator
   stanford university itss-css

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