[rrd-users] Re: timezones per graph
jgmeinder at metlife.com
Mon Feb 7 15:38:13 MET 2000
Thanks Alex, that confirms my suspicions. But I have a brain-lock on how to
define what you suggested - I am only a few days old on rrd<grin>.
I have an RRA interval of 1 hour. I then created an RRA to aggregate 12
intervals. Here is my create statement.
rrdtool create ..\data\users.rrd --start "01/31/2000 00:00" --step 3600
RRA:AVERAGE:0.9999:1:168 RRA:MIN:0.9999:12:120 RRA:MAX:0.9999:12:120
Can you shed a tad bit more light on how to align those aggregates to my
timezone? Or do I need to dive into CDEFs in order to do this?
Thanks for your time,
alex at ergens.op.Het.Net on 02/07/2000 08:55:47 AM
To: John Gmeinder/Bsg/MetLife/US at MetLife
cc: rrd-users at list.ee.ethz.ch
Subject: Re: [rrd-users] timezones per graph
John Gmeinder wrote:
> Oops, I see my problem is a bit different. The problem is not in creating the
> graphs, it is in the aggregate. When I store a MAX, based on 12 counters, it
> starting at real time 0, not my timezone 0. What I am looking to do is get
> MAX for my timezone 0-11 (a.m.), and 12-23 (p.m) . Can I do that, and graph
> based on my timezone?
I assume you're talking about an RRA that stores the data in 12-hour
intervals. If so:
The first interval will start at 0:00 UTC, the second one at 12:00 UTC.
What you need is an interval that starts at 0:00 in some other timezone.
RRDtool cannot handle this (as it would otherwise need to store CDPs at
arbitrary times such as 5:00 UTC).
The most portable thing to do is to make sure there always is an interval
that starts at 0:00 UTC, for each and every timezone. That implicates
that you need to use intervals of one hour (assuming that all timezones
are on whole hours; is this correct?)
Doing it this way should allow for averages, maxima etcetera from
your midnight to the next midnight.
/ alex at slot.hollandcasino.nl alex at ergens.op.het.net \
| work private |
| My employer is capable of speaking therefore I speak only for myself |
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help
More information about the rrd-users