[rrd-users] Re: Calculating percentages over time

Alex van den Bogaerdt alex at ergens.op.het.net
Wed Oct 30 21:21:00 MET 2002


On Wed, Oct 30, 2002 at 10:19:14AM -0500, tallen at csc.sctboces.org wrote:

> I'm graphing different subnets for billing purposes.  Using GPRINT, I can get 
> AVERAGE bandwidth by subnet and in total, over the period of the graph, 
> easy.  I can calculate the % used then by that subnet, again easy.  But if 
> I do the percentages in the graph, the numbers get skewed, because it does 
> an AVERAGE percentage, rather than a percentage of the averages.

First calculate the ratio (in a CDEF) then take the percentage?

> In other 
> words, if one subnet is active all night long, and no one else is on, that 
> subnet gets billed for 100% usage for the entire night, irregardless of 
> how much bandwidth they actually used.  I have a graph where 2 subnets 

That's right, because whatever amount of data they've sent, it will be
100% if they're the only one talking !?

Even if they used the amazing amount of just one byte, that single one
byte is 100% of the total amount of bytes sent during that night.

So, if that's not your problem, what problem *do* you try to solve?

Alex

--
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive     http://www.ee.ethz.ch/~slist/rrd-users
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the rrd-users mailing list