[rrd-users] Re: Creating RRD/RRA

Alex van den Bogaerdt alex at ergens.op.het.net
Wed May 11 22:53:24 MEST 2005


On Wed, May 11, 2005 at 03:09:47PM -0400, Mike M wrote:

[number of documents being processed each hour]

> $ rrdtool create testdb.rrd \
>         DS:webdocs:GAUGE:3600:0:1000000000 \
>         DS:intdocs:GAUGE:3600:0:1000000000 \
>         RRA:AVERAGE:0.5:1:9600 \ 
>         RRA:AVERAGE:0.5:24:9600 \ 
>         RRA:AVERAGE:0.5:720:6000

There is no "--step", something you probably want.
The default of 300 seconds is now used.

The heartbeat is set to 3600 so you need updates >at_most< 3600
seconds apart.

First RRA: 9600 rows, each 300 seconds, 2880000 seconds total.
This is 33 days 8 hours.

Second RRA: 9600 rows, each (24*300) seconds, 69120000 seconds total,
800 days (about 2 years 2 months).

Third RRA: 6000*720*300=15000 days = 41 years 25 days.

> Is this correct?  I haven't had any luck generating graphs after
> populating the rrd with:

Is this correct?  That depends on your needs.  It could be correct
yet I find it highly unlikely.

> $  rrdtool update N:876123:987123

And what time is "N" ?  And the next "N" ?  How far are they apart?

What is in the database when you "rrdtool dump your.db > your.xml" ?

I think you need to go back to the drawing board.

HTH
Alex

--
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive     http://lists.ee.ethz.ch/rrd-users
WebAdmin    http://lists.ee.ethz.ch/lsg2.cgi



More information about the rrd-users mailing list