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
-- 
   __________________________________________________________________
 / [EMAIL PROTECTED]                  [EMAIL PROTECTED] \
| 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:[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