[rrd-users] Cumulative Moving Average

anylrs1 anylrs1 at gmail.com
Tue Mar 19 08:54:18 CET 2013

Thanks but what I was looking for is a way to store the average in the file
not extracting it.
I thought maybe it would be possible to combine a rrdfetch with every
rrdupdate in some way?

On Tue, Mar 19, 2013 at 7:08 AM, Steve Shipway <s.shipway at auckland.ac.nz>wrote:

>  You can use TREND and TRENDNAN to extract a sliding-window average over
> a specific sized window.  This is probably what you want?
> You may also be able to use a cunningly-designed CDEF to make a decayed
> average over the currently visible time window, and then take a VDEF over
> that to get the last value for display.
> Steve
>  *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 anylrs1 [anylrs1 at gmail.com]
> *Sent:* Monday, 18 March 2013 11:52 p.m.
> *To:* rrd-users at lists.oetiker.ch
> *Subject:* [rrd-users] Cumulative Moving Average
>   Hi All,
> I'm new to rrdtool and trying to figure out if I can use it for my needs.
> I need to store a cumulative moving average in file.
> The average will be updated from a counter every 5 minutes.
> The cumulative average must be kept over an unlimited amount of time. (A
> reset will be done manually at the user's discretion).
> Is there a way to do this with rrdtool?
> Thanks
>  Andy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.oetiker.ch/pipermail/rrd-users/attachments/20130319/1cf3096a/attachment-0001.htm 

More information about the rrd-users mailing list