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:

[EMAIL PROTECTED] 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:[EMAIL PROTECTED]
Help        mailto:[EMAIL PROTECTED]
Archive     http://www.ee.ethz.ch/~slist/rrd-users
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi

Reply via email to