[rrd-users] A reason there isn't a CF SUM function?

Derek Haynes derek.haynes at highgroove.com
Tue Aug 21 18:13:09 CEST 2012


> That makes sense. You will only get one value by summing a list of numbers.
> Which leads on to ... what would you store for a SUM CF ?

Instead of averaging the known values, calculate the sum. For example,
if I have an RRD file w/1-min RRAs and I want to fetch at a 30-minute
step (lower resolution across a large time frame), I'd be looking for
the sum of each RRA value during each 30 minute interval.

-Derek

On Tue, Aug 21, 2012 at 9:55 AM, Simon Hobson <linux at thehobsons.co.uk> wrote:
> Derek Haynes wrote:
>
>>For reason (1), the common argument is you can calculate this by
>>multiplying the average by the duration of the CDP. However, this
>>doesn't hold when a CDP contains unknowns as the average is only based
>>on the known values.
>
> And the same would apply if you had a SUM CF
>
>>The TOTAL operator does exactly what I'm looking for but it's only for
>>VDEF statements.
>
> That makes sense. You will only get one value by summing a list of numbers.
> Which leads on to ... what would you store for a SUM CF ?
>
> --
> Simon Hobson
>
> Visit http://www.magpiesnestpublishing.co.uk/ for books by acclaimed
> author Gladys Hobson. Novels - poetry - short stories - ideal as
> Christmas stocking fillers. Some available as e-books.
>
> _______________________________________________
> rrd-users mailing list
> rrd-users at lists.oetiker.ch
> https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users



-- 
Derek Haynes
Scout Web Monitoring and Reporting ~ http://scoutapp.com
Blog ~ http://blog.scoutapp.com
415.871.7979



More information about the rrd-users mailing list