Hi Simon,<div><br></div><div>Actually I've been accumulating data for about 1 day now.</div><div><br></div><div>I must have not provided the correct create command then, as you mentioned regarding step declaration.</div><div><br></div><div>Do I just need to add --step 300 there?<br><br>At Wednesday, 09-08-2010 on 12:53 "Simon Hobson" <linux@thehobsons.co.uk> wrote:<br><blockquote style="border:0;border-left: 2px solid #22437f; padding:0px; margin:0px; padding-left:5px; margin-left: 5px; ">Ricardo Kleemann wrote:<br>
<br>
>I'm having trouble updating my database, this is my first try at <br>
>getting rrdtool to work... ;-)<br>
><br>
>So I created a database like this:<br>
><br>
>rrdtool create /var/www/rrd/test.rrd<br>
> DS:input:ABSOLUTE:600:U:U<br>
> DS:output:ABSOLUTE:600:U:U<br>
> RRA:AVERAGE:0.5:1:600<br>
> RRA:AVERAGE:0.5:6:700<br>
> RRA:AVERAGE:0.5:24:775<br>
> RRA:AVERAGE:0.5:288:797<br>
> RRA:MAX:0.5:1:600<br>
> RRA:MAX:0.5:6:700<br>
> RRA:MAX:0.5:24:775<br>
> RRA:MAX:0.5:288:797<br>
><br>
>And I'm getting counters every 5 minutes (resetting each time) to <br>
>feed into the rrd.<br>
><br>
>I have a script that gets values for input and output and then I <br>
>call update with those values like this:<br>
><br>
>rrdtool update /var/www/rrd/test.rrd N:31127529:10551799<br>
><br>
>But when I do a dump, the rrd just has all NaN, no data in it.<br>
<br>
How long did you do updates for ? You won't see any values in the <br>
database until you've completed a consolidated period AND you have at <br>
least (in this case) 50% of that period covered by data. If you are <br>
entering data every 5 minutes, it may take 2 or 3 updates before data <br>
appears.<br>
<br>
Also, is it a typo/copy&paste error, because I don't see a step <br>
declaration in that rrd tool create command ?<br>
-- <br>
Simon Hobson<br>
<br>
Visit http://www.magpiesnestpublishing.co.uk/ for books by acclaimed<br>
author Gladys Hobson. Novels - poetry - short stories - ideal as<br>
Christmas stocking fillers. Some available as e-books.<br>
<br>
_______________________________________________<br>
rrd-users mailing list<br>
rrd-users@lists.oetiker.ch<br>
https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users</blockquote></div>