Hi,<div><br></div><div>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:</div>
<div><br></div><div><div>$ rrdtool create filename.rrd \</div><div>> --step '1' \</div><div>> 'DS:reads:GAUGE:10:0:U' \</div><div>> 'DS:writes:GAUGE:10:0:U' \</div><div>> 'RRA:AVERAGE:0.5:300:100' \</div>
<div>> 'RRA:AVERAGE:0.5:300:1000' \</div><div>> 'RRA:AVERAGE:0.5:300:500'</div><div>$ rrdtool update filename.rrd N:1:1</div><div>$ rrdtool update filename.rrd N:1:2</div><div>$ rrdtool update filename.rrd N:3:2</div>
<div>$ rrdtool update filename.rrd N:3:5</div><div>$ rrdtool update filename.rrd N:6:5</div><div>$ rrdtool update filename.rrd N:6:8</div><div>$ rrdtool update filename.rrd N:6:9</div><div>$ rrdtool update filename.rrd N:6:10</div>
<div>$ rrdtool update filename.rrd N:6:11</div><div>$ rrdtool update filename.rrd N:6:12</div><div>$ rrdtool fetch filename.rrd AVERAGE</div><div> reads writes</div><div><br></div><div>
1326722400: nan nan</div><div>1326722700: nan nan</div><div>1326723000: nan nan</div><div>1326723300: nan nan</div></div><div>...</div><div><br></div><div>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?</div>
<div><br></div><div><br></div><div>Cheers,</div><div><br></div><div>Adriano Marques</div>