[rrd-users] help with update

Ricardo Kleemann ricardo at americasnet.com
Wed Sep 8 21:01:53 CEST 2010


Hi,

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.

If I run updatev I see this:
return_value = 0

What am I doing wrong?

Thanks
Ricardo


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


More information about the rrd-users mailing list