[rrd-users] A reason there isn't a CF SUM function?
Derek Haynes
derek.haynes at highgroove.com
Tue Aug 21 22:14:35 CEST 2012
> What might be more useful might be an option to handle unknowns
> differently during consolidation.
Yeah - that's the problem. Once an unknown is recorded, I don't
believe this formula works. Related - ADDNAN treats unknowns as zero
(looking for the same behavior here).
-Derek
On Tue, Aug 21, 2012 at 12:00 PM, Simon Hobson <linux at thehobsons.co.uk> wrote:
> Derek Haynes wrote:
>> > 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.
>
> Which you can get with :
>
> cdef:data_sums=data_avg,${res_step},*
>
> Where ${res_step} is the length of the consolidation interval being
> used. In your example, 1800 seconds.
>
> What might be more useful might be an option to handle unknowns
> differently during consolidation.
>
> --
> 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