[rrd-users] help with update

Ricardo Kleemann ricardo at americasnet.com
Wed Sep 8 22:28:07 CEST 2010

Hi Simon,

Actually I've been accumulating data for about 1 day now.

I must have not provided the correct create command then, as you
mentioned regarding step declaration.

Do I just need to add --step 300 there?

At Wednesday, 09-08-2010 on 12:53 "Simon Hobson" 
	*  wrote:

Ricardo Kleemann wrote:

>I'm having trouble updating my database, this is my first try at 
>getting rrdtool to work... ;-)
>So I created a database like this:
>rrdtool create /var/www/rrd/test.rrd
> DS:input:ABSOLUTE:600:U:U
> DS:output:ABSOLUTE:600:U:U
> RRA:AVERAGE:0.5:1:600
> RRA:AVERAGE:0.5:6:700
> RRA:AVERAGE:0.5:24:775
> RRA:AVERAGE:0.5:288:797
> RRA:MAX:0.5:1:600
> RRA:MAX:0.5:6:700
> RRA:MAX:0.5:24:775
> RRA:MAX:0.5:288:797
>And I'm getting counters every 5 minutes (resetting each time) to 
>feed into the rrd.
>I have a script that gets values for input and output and then I 
>call update with those values like this:
>rrdtool update /var/www/rrd/test.rrd N:31127529:10551799
>But when I do a dump, the rrd just has all NaN, no data in it.

How long did you do updates for ? You won't see any values in the 
database until you've completed a consolidated period AND you have at

least (in this case) 50% of that period covered by data. If you are 
entering data every 5 minutes, it may take 2 or 3 updates before data


Also, is it a typo/copy&paste error, because I don't see a step 
declaration in that rrd tool create command ?
Simon Hobson

Visit http://www.magpiesnestpublishing.co.uk/ for books by acclaimed
author Gladys Hobson. Novels - poetry - short stories - ideal as
Christmas stocking fillers. Some available as e-books.

rrd-users mailing list
rrd-users at lists.oetiker.ch

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.oetiker.ch/pipermail/rrd-users/attachments/20100908/5ef40452/attachment.htm 

More information about the rrd-users mailing list