[rrd-users] Historical TOTALS instead of AVERAGE

Simon Hobson linux at thehobsons.co.uk
Tue Jan 23 20:37:38 MET 2007


Mike Sturdee wrote:

>While that part doesn't seem to difficult, in the historical
>"weekly - 30min avg", "monthly - 2hour avg", etc, instead of being an
>average over 30min, 2hour, etc, i would like to graph the sum total for
>calls per "30min, 2hour, etc" time period..
>
>Is this at all possible with rrd?

Yes - now think about it for a minute.

..

Need a clue ? What is an average ? How about number of <somethings> 
divided by time. So, all you have to do is multiply by time and 
you've got your number !

So, if you have the average over a 30 minute period, simply multiply 
that by 1800 (ie 30 mins times 60 seconds/min) and you got the total.




More information about the rrd-users mailing list