[rrd-users] Re: Specification of RRA Boundaries

Alex van den Bogaerdt alex at ergens.op.het.net
Fri Sep 10 10:28:34 MEST 2004


On Fri, Sep 10, 2004 at 05:45:44PM +1000, Richard Nelson wrote:
> I live in EST, which is UTC+10, which is why my data gets consolidated a
> t 10am, and I would really rather it was consolidated at midnight. Howev
> er! Since the maximum value is very unlikely to happen between midnight 
> and 10am (more likely to happen between 6pm-10pm), a quick hack would be
>  to offset the graph 10 hours, and noone would be any the wiser. Is this
>  possible? I'd rather it consolidated at midnight though.

[edited veeery long line; see sig]

If you want things to happen at time n*3600 instead of n*86400, use an
RRA with intervals of 3600 instead of 86400.

> -s 60 DS:players:GAUGE:600:0:U RRA:MAX:0.9:1440:32

1440 times one minute ("--step 60") is indeed 24 hours.  That is n*86400.
You are asking RRDtool to do things at 00:00 UTC.  You want something
else so you should ask RRDtool to do something else. Try RRA:MAX:0.9:60:768

Alex
-- 
You want an answer?  You'd better follow the following guidelines!
Linesize well below 80 chars. Reply to the list, not to me. Trim
irrelevant lines. Answer below the remaining paragraph.

--
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://www.ee.ethz.ch/~slist/rrd-users
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the rrd-users mailing list