[rrd-users] problem with lost of data, file size always the same!

Francesco Andreozzi francesco.andreozzi at gamestorm.it
Fri Oct 3 16:11:24 CEST 2008

Hi all... i finish to read all the tutorial...
an maybe i found the solution... or at least i hope to understand how  
rrd works!

please tellme if it's correcte....

i take min and max, 24 values every day for 10 years
i get avarage as real value, one every 300sec steps..for 10 years

rrdtool create e_m153_o69.rrd --step 300 --start 1223021717 \
           DS:e_m153_o69:GAUGE:600:0:U \
           RRA:MIN:0.5:12:87600 \
           RRA:MAX:0.5:12:87600 \

i think this is ok... just 10Mb of file! ... it is ok!
... please tell me if it is wrong :D

just one question... now i would like to alter my previous created rrd  
to have this structure ... i can use dump and restore, this will works  
? or ther is another way to do that?

Thankyou for all yours help.


Quoting fredrik at n-mental.com:

> Please read the documentation..
> http://oss.oetiker.ch/rrdtool/tut/rrd-beginners.en.html
> "In case of linear databases, new data gets appended at the bottom of the
> database table. Thus its size keeps on increasing, whereas the size of an
> RRDtool database is determined at creation time. Imagine an RRDtool
> database as the perimeter of a circle. Data is added along the perimeter.
> When new data reaches the starting point, it overwrites existing data. This
> way, the size of an RRDtool database always remains constant. The name
> "Round Robin" stems from this behavior."
> On Fri, 03 Oct 2008 13:07:46 +0200, Francesco Andreozzi
> <francesco.andreozzi at gamestorm.it> wrote:
>> Hi all, this is my first post and i hope to be clear :D
>> i have start to using rrd because seems to be really nice stuff....
>> i create a lot of rrd to collect data from a specific device ...
>> i create an rrd with the command like this
>> rrdtool create <RRDNAME.rrd> --start <my-date> \
>>          DS:<my-obj>:GAUGE:<my-time>0:U \
>>          RRA:MIN:0.5:12:1440 \
>>          RRA:MAX:0.5:12:1440 \
>>          RRA:AVERAGE:0.5:1:1440
>> the collection seems to be good except i'm lost some data!!!...
>> if i do a rrdtool dump I can see min and max value from the starting
>> time, but avarage no, the first values are lost every 5 minutes, when
>> i do the rrdtool update!
>> the file size is always the same and it doesn't increase!
>> when i'm creating graph i really want to use avarage values! but on
>> this way i think i will gona lost all this information!
>> please help me.
>> and ask if you need more infos to help me.
>> Ciao
>> Francesco
>> _______________________________________________
>> rrd-users mailing list
>> rrd-users at lists.oetiker.ch
>> https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users

More information about the rrd-users mailing list