[rrd-users] Re: Creating RRD/RRA
Alex van den Bogaerdt
alex at ergens.op.het.net
Wed May 11 23:42:44 MEST 2005
On Wed, May 11, 2005 at 05:22:43PM -0400, Mike M wrote:
> > There is no "--step", something you probably want.
> > The default of 300 seconds is now used.
>
> Okay, I understand this. So then for 1-hour increments, I need to set
> this to 3600, right?
Yep.
> > The heartbeat is set to 3600 so you need updates >at_most< 3600
> > seconds apart.
>
> This should be okay - I'm planning on writing a shell script that runs
> from cron hourly to update the database. Is there any harm in making
> this a little less, maybe 3300?
Runs from cron, hourly. A small delay, sometimes the system is
under load, sometimes not...
> > And what time is "N" ? And the next "N" ? How far are they apart?
>
> Isn't "N" = now? The other two values (876123:987123) are the
> document counts, the first for the "webdocs" datasource, the second
... let's say the following is true:
now == around 12:00 METDST today == 1115805601 seconds since epoch
now == around 13:00 METDST today == 1115809202 seconds since epoch
now == around 14:00 METDST today == 1115812800 seconds since epoch
now == around 15:00 METDST today == 1115816401 seconds since epoch
Assume step == 3600 and heartbeat == 3600. What do you think
happens at time 1115809202 (_around_ 13:00) ? And at 1115816401 ?
And why?
What do you think if heartbeat is set to 3300 ? Why ?
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