[rrd-users] Re: rrd fetch makes up numbers
Nemo
nemo at circinus.com
Sat Jan 20 21:18:16 MET 2001
Sorry I was away for a week.. So I tried that, I did cut and paste, and
yes it gave me the right results like you have. However! If you actually
update it normally like this:
rrdtool update x.rrd N:49955 every minute, you get wrong results that I'm
talking about!
even doing this:
rrdtool update x.rrd 980021640:49955
then a minute later doing
rrdtool update x.rrd 980021700:49955 and so on.
I'm running on Solaris 2.6 Ultra 5, using rrdtool-1.0.28
I've noticed however, that if you deviate by 1 number (i.e. the number
inserted each time is different from the last number inserted) then it
works fine!
On Sun, 14 Jan 2001, Alex van den Bogaerdt wrote:
> 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
>
--
nemo at circinus.com
--
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