Hi,

i recognize a mistake (transposed digits)

RRAs "RRA:AVERAGE:0.5:240:9504" instead of  RRAs "RRA:AVERAGE:0.5:9504:240"

you have to delete your old rrd-files and ganglia will create the new one with your new definitions. if you need the current data, save the old files and do a rrdtool export/import.

start a "rrdtool dump" on one of the new files and have a look for the following lines:
<rra>
...
...
<pdp_per_row> 240 </pdp_per_row>
...
...
<database>
the next line should start 13 month in the past
example (for ca. 12 month):
<!-- 2009-04-25 18:24:00 DFT / 1240676640 --> <row><v> NaN </v></row>

greets
Ron


Am 30.04.2010 12:12, schrieb István Banai:
Hi Ron,

One more question:
I have placed the line you have mentiod into the gmetad.conf

How can I check that its really keep datas for 13 months?
Is there a simple way or I have to wait for 13 months to check it? :)

Thanks,
Istvan

2010/4/30 Ron Wellnitz <[email protected] <mailto:[email protected]>>

    Hi,

    first you must clearify how many datapoints you want to see in a
    13 month range.
    it make no sense to store all datapoints  (ganglia generate every
    15sec one datapoint).

    maybe just every hour ?

    60 (sek) * 60 (min)  / 15  = 240

    so RRD will aggregate 240 datapoints into one

    now you can calculate your 13 mounth within a one hour range ...

    365 (1 year) + 31 (1 month) * 24 = 9504 hours

    RRAs "RRA:AVERAGE:0.5:9504:240"


    greets

    Ron



    Am 30.04.2010 10:32, schrieb István Banai:
    Hi Folks,

    I have a problem with ganglia/rrd-tool archive.
    I have to keep the RRDTools datas for 13 months but it is not
    clear for me how to setup
    ganglia or rrdtool to do this.

    Is the following line is enough in gmetad.conf to keep datas for
    13 months?

    RRAs "RRA:AVERAGE:0.5:5760:403"

    Or what else is needed.
    I tried to search on the net but I can't find any solution to do
    this.

    Thanks,
    Istvan


    
------------------------------------------------------------------------------

    _______________________________________________
    Ganglia-general mailing list
    [email protected]  
<mailto:[email protected]>
    https://lists.sourceforge.net/lists/listinfo/ganglia-general


------------------------------------------------------------------------------
_______________________________________________
Ganglia-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ganglia-general

Reply via email to