[rrd-users] Creating a graph averaged over a week

Steve Shipway s.shipway at auckland.ac.nz
Thu Nov 18 19:17:17 CET 2010

>From the poster's original message, I think the HWpredict is what he's after; although he suggests a 4-week average, it seems that his true goal is to show the average/usual usage for a particular time of the week, hence the HWpredict RRA.


Steve Shipway
University of Auckland ITS
UNIX Systems Design Lead
s.shipway at auckland.ac.nz
Ph: +64 9 373 7599 ext 86487

From: rrd-users-bounces+s.shipway=auckland.ac.nz at lists.oetiker.ch [rrd-users-bounces+s.shipway=auckland.ac.nz at lists.oetiker.ch] on behalf of Alex van den Bogaerdt [alex at vandenbogaerdt.nl]
Sent: Friday, 19 November 2010 3:14 a.m.
To: rrd-users at lists.oetiker.ch
Subject: Re: [rrd-users] Creating a graph averaged over a week

> Therefore what I would like to do is generate one for a
> generic monday, tuesday etc. By this a mean is keep a high resolution of
> data over say a 28 day cycle (maybe more). Then generate a day graph that
> plots the average value for x time in a day.

A generic monday is not necessarily the average of four consecutive mondays.

If Steve's suggestion is not what you are looking for, have a look at
SHIFT (in the rrdtool graph manual).

> Is this something rrdtool can do? At the moment I cant see how I could as
> all the x axis values would be different as they are time based

Indeed. And that time can be SHIFTed :)

>From memory:
four data sources (pointing at the same source),
shift by 0,1,2 or 3 times 604800 seconds (1 week)
should give you the data. Now use AVG (see the RPN docs).


rrd-users mailing list
rrd-users at lists.oetiker.ch

More information about the rrd-users mailing list