[rrd-users] Re: rrd fetch makes up numbers

Alex van den Bogaerdt alex at slot.hollandcasino.nl
Sun Jan 14 22:31:51 MET 2001


Nemo wrote:
> 
> rrdtool create file.rrd -s 60 DS:data:GAUGE:120:0:U RRA:LAST:0.5:1:10080
> rrdtool update file.rrd 979506480:49955
> rrdtool update file.rrd 979506540:49955
> rrdtool update file.rrd 979506600:49955
> rrdool fetch file.rrd LAST
>  ...
>  979506420: NaN
>  979506480: 4.9223000000e+04
>  979506540: 3.9119216667e+04
>  979506600: 4.3294333333e+04

After doing s/rrdool/rrdtool/ :
 979506420:        NaN
 979506480: 4.9955000000e+04
 979506540: 4.9955000000e+04
 979506600: 4.9955000000e+04
 979506660:        NaN

So: please try again.  Just use cut and paste. Make sure to do this in
a directory without a file called x.rrd
rrdtool create x.rrd -b 979506420 -s 60 DS:x:GAUGE:120:0:U RRA:LAST:0.5:1:10080
rrdtool update x.rrd 979506480:49955
rrdtool update x.rrd 979506540:49955
rrdtool update x.rrd 979506600:49955
rrdtool fetch x.rrd -s 979506420 -e 979506660 LAST

If it doesn't produce the correct numbers, retry with a recent version
of RRDtool.

cheers
-- 
   __________________________________________________________________
 / alex at slot.hollandcasino.nl                  alex at ergens.op.het.net \
| work                                                         private |
| My employer is capable of speaking therefore I speak only for myself |
+----------------------------------------------------------------------+
| Technical questions sent directly to me will be nuked. Use the list. | 
+----------------------------------------------------------------------+
| http://faq.mrtg.org/                                                 |
| http://rrdtool.eu.org  --> tutorial                                  |
+----------------------------------------------------------------------+

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