[rrd-users] Calendar Monthly Aggregation

Alex van den Bogaerdt alex at ergens.op.het.net
Tue Mar 25 19:10:14 CET 2008

On Tue, Mar 25, 2008 at 10:48:41AM -0700, Luke Burden wrote:

> Is there any way one can aggregate samples on a calendar monthly basis
> within an RRD, or is this logic always best applied by scripts using
> RRD-stored daily stats?

RRDtool works with intervals of a fixed duration, and also on
specific start and end times.  Calender months aren't of a fixed
duration, and midnight local time usually is not on a suitable 
boundary.  And then there's daylight saving in most places.

This means you will have to use hourly stats.  If your local time
zone happens to be something else than a whole number of hours
away from UTC, then even hourly stats won't do and you need to
resort to e.g. 30-minute stats.

Clear enough?

Alex van den Bogaerdt

More information about the rrd-users mailing list