[mrtg] Re: Formula for calculating Network Utilisation

Meng Keng Lee mengkenglee at yahoo.com
Thu Jun 24 07:02:47 MEST 2004


Hello Alex,
then how do we deploy this formula to MRTG to monitor network threshold?  
 
I did some testing and found that I did to divide by 300sec to derive a correct network utilisation percentage to be monitored for threshold alert.
 
Furthermore, in MRTG, ThresMaxi derives its percentage from MaxBytes which is wrong then.
 
Regards
Alex van den Bogaerdt <alex at ergens.op.het.net> wrote:
On Tue, Jun 22, 2004 at 08:38:34PM -0700, Meng Keng Lee wrote:
> Hello,
> 
> Can I check with you whether the formula for calculating Network Utilisation (Input/Ouput) is correct?
> 
> Network Utilisation (Input in %) = ifInOctets/ifSpeed * 800
> 
> Network Utilisation (Output in %) = ifOutOctets/ifSpeed * 800

___if___ the ifInOctets counter counts bytes and ifSpeed is in bits
then it is correct. This is __not__ the case.

Both counters are of the same type (both bits or both bytes) and thus
a percentage is 100 * x/y.

--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive http://www.ee.ethz.ch/~slist/mrtg
FAQ http://faq.mrtg.org Homepage http://www.mrtg.org
WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi


		
---------------------------------
Do you Yahoo!?
New and Improved Yahoo! Mail - 100MB free storage!

--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive     http://www.ee.ethz.ch/~slist/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the mrtg mailing list