[rrd-users] Can't store data to RRD file

Adriano Monteiro Marques adriano at crowdspring.com
Tue Jan 17 15:02:14 CET 2012


Hi,

I've being trying for a couple of days to create an RRD and store some data
in it. I read the documentation, and followed examples, but couldn't manage
to get it working. It could be either a bug or a non-obvious error in my
code. Here is how to reproduce:

$ rrdtool create filename.rrd \
> --step '1' \
> 'DS:reads:GAUGE:10:0:U' \
> 'DS:writes:GAUGE:10:0:U' \
> 'RRA:AVERAGE:0.5:300:100' \
> 'RRA:AVERAGE:0.5:300:1000' \
> 'RRA:AVERAGE:0.5:300:500'
$ rrdtool update filename.rrd N:1:1
$ rrdtool update filename.rrd N:1:2
$ rrdtool update filename.rrd N:3:2
$ rrdtool update filename.rrd N:3:5
$ rrdtool update filename.rrd N:6:5
$ rrdtool update filename.rrd N:6:8
$ rrdtool update filename.rrd N:6:9
$ rrdtool update filename.rrd N:6:10
$ rrdtool update filename.rrd N:6:11
$ rrdtool update filename.rrd N:6:12
$ rrdtool fetch filename.rrd AVERAGE
                          reads              writes

1326722400: nan nan
1326722700: nan nan
1326723000: nan nan
1326723300: nan nan
...

It continues like this showing only nan for dozens of lines and I don't get
any useful content out of it. What am I missing?


Cheers,

Adriano Marques
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.oetiker.ch/pipermail/rrd-users/attachments/20120117/bb341db3/attachment.htm 


More information about the rrd-users mailing list