[rrd-users] Re: rrdtool update only shows 'NaN' ?

Alex van den Bogaerdt alex at ergens.op.HET.NET
Thu Jul 25 17:56:04 MEST 2002


Tom Van Overbeke wrote:

> Could someone who has more experience with rrdtool create and populate the
> test.rrd with the commands listed underneath, and check why a rrdtool fetch
> will not return correct data ?


> I created a RRD with the following command:
> 
>  rrdtool create --step 1200 DS:usr:GAUGE:1300:0:100 DS:sys:GAUGE:1300:0:100
> DS:wio:GAUGE:1300:0:100 DS:idle:GAUGE:1300:0:100 RRA:AVERAGE:0.99:1:60

You probably used "test.rrd" somewhere on this command line.  If not,
you're looking at the wrong database...

> If i run 'rrdtool dump test.rrd, i can see the real values, but when i try
> to use the graph or fetch function, all i get is NaN.

And I replied and told you to use an end time.  This is what I get when
I do this:

[alex at bigmac dinges]$ rrdtool fetch  test.rrd AVERAGE -e 1027886400 -s e-1200s
                      usr           sys           wio          idle

1027885200: 5.0000000000e+00 7.0000000000e+00 0.0000000000e+00 8.7000000000e+01
1027886400: 4.0000000000e+00 6.0000000000e+00 0.0000000000e+00 9.0000000000e+01


I didn't bother to check the actual numbers but I do get something
else than NaN.

cheers,
Alex

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