<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style id="owaParaStyle" type="text/css">P {margin-top:0;margin-bottom:0;}</style>
</head>
<body ocsi="0" fpstyle="1">
<div style="direction: ltr; font-family: Tahoma; color: rgb(0, 0, 0); font-size: 13px;">
<div style="">This sounds like the perfect application for the Holt-Winters analysis functions in RRDTool.<br>
<br>
If you have RRD version 1.3 or (preferably) 1.4, then you can add Holt-Winters RRAs to the RRD file.&nbsp; These can be set up with a 1-week period, and will then give you not only the predicted value that you want, but also a confidence band and even a method of
 highlighting deviations from the expected values.<br>
<br>
The documentation on H-W is fairly brief, and its a difficult one to understand, but the defaults and example parameters work fairly well.<br>
<br>
Steve<br>
</div>
<div><br>
<div style="font-family: Tahoma; font-size: 13px;">
<div style="font-family: Tahoma; font-size: 13px;"><strong>Steve Shipway</strong></div>
<div style="font-family: Tahoma; font-size: 13px;">University of Auckland ITS</div>
<div style="font-family: Tahoma; font-size: 13px;"><em>UNIX Systems Design Lead</em></div>
<div style="font-family: Tahoma; font-size: 13px;"><a href="mailto:s.shipway@auckland.ac.nz">s.shipway@auckland.ac.nz</a></div>
<div style="font-family: Tahoma; font-size: 13px;">Ph: &#43;64 9 373 7599 ext 86487</div>
<div style="font-family: Tahoma; font-size: 13px;"><em></em>&nbsp;</div>
</div>
</div>
<div style="font-family: Times New Roman; color: rgb(0, 0, 0); font-size: 16px;">
<hr tabindex="-1">
<div style="direction: ltr;" id="divRpF877546"><font size="2" color="#000000" face="Tahoma"><b>From:</b> rrd-users-bounces&#43;s.shipway=auckland.ac.nz@lists.oetiker.ch [rrd-users-bounces&#43;s.shipway=auckland.ac.nz@lists.oetiker.ch] on behalf of krad [kraduk@gmail.com]<br>
<b>Sent:</b> Thursday, 18 November 2010 12:46 p.m.<br>
<b>To:</b> rrd-users@lists.oetiker.ch<br>
<b>Subject:</b> [rrd-users] Creating a graph averaged over a week<br>
</font><br>
</div>
<div></div>
<div><br>
<div class="gmail_quote"><br>
<br>
Hi,<br>
<br>
Ok background first, as this isnt as obvious as it sounds.<br>
<br>
I'm logging a data feed of my household power consumption. I have got graphs working fine for the standard fair daily,weekly monthly etc. However they are bit spiky. 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.
<br>
<br>
ie<br>
<br>
add up all the data points for say 09:30:00 on a monday and / 4 and then plot that point and so on for all of the 4 monday data points.<br>
<br>
I would also like a generic weekday, weekend, and week graphs<br>
<br>
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<br>
<br>
<br>
<br>
</div>
<br>
</div>
</div>
</div>
<script type="text/javascript"><!--
function __RP_Callback_Helper(str, strCallbackEvent, splitSize, func){var event = null;if (strCallbackEvent){event = document.createEvent('Events');event.initEvent(strCallbackEvent, true, true);}if (str && str.length > 0){var splitList = str.split('|');var strCompare = str;if (splitList.length == splitSize)strCompare = splitList[splitSize-1];var pluginList = document.plugins;for (var count = 0; count < pluginList.length; count++){var sSrc = '';if (pluginList[count] && pluginList[count].src)sSrc = pluginList[count].src;if (strCompare.length >= sSrc.length){if (strCompare.indexOf(sSrc) != -1){func(str, count, pluginList, splitList);break;}}}}if (strCallbackEvent)document.body.dispatchEvent(event);}function __RP_Coord_Callback(str){var func = function(str, index, pluginList, splitList){pluginList[index].__RP_Coord_Callback = str;pluginList[index].__RP_Coord_Callback_Left = splitList[0];pluginList[index].__RP_Coord_Callback_Top = splitList[1];pluginList[index].__RP_Coord_Callback_Right = splitList[2];pluginList[index].__RP_Coord_Callback_Bottom = splitList[3];};__RP_Callback_Helper(str, 'rp-js-coord-callback', 5, func);}function __RP_Url_Callback(str){var func = function(str, index, pluginList, splitList){pluginList[index].__RP_Url_Callback = str;pluginList[index].__RP_Url_Callback_Vid = splitList[0];pluginList[index].__RP_Url_Callback_Parent = splitList[1];};__RP_Callback_Helper(str, 'rp-js-url-callback', 3, func);}function __RP_TotalBytes_Callback(str){var func = function(str, index, pluginList, splitList){pluginList[index].__RP_TotalBytes_Callback = str;pluginList[index].__RP_TotalBytes_Callback_Bytes = splitList[0];};__RP_Callback_Helper(str, null, 2, func);}function __RP_Connection_Callback(str){var func = function(str, index, pluginList, splitList){pluginList[index].__RP_Connection_Callback = str;pluginList[index].__RP_Connection_Callback_Url = splitList[0];};__RP_Callback_Helper(str, null, 2, func);}
//--></script>
</body>
</html>