[mrtg] Re: How to measure Network Utilisation Percentage in MRTG

Meng Keng Lee mengkenglee at yahoo.com
Tue Jun 15 04:35:36 MEST 2004


Sorry, maybe I should make myself clearer, what I want to do is to re-calculate the network utilisation in percentage, after calculating it into percentage, I can then do threshold monitoring, above 70%, alert user etc.  That is why I use the formula below
Target[192.168.133.1_1]: (ifInOctets.1&ifOutOctets.1:ncspublic at 192.168.133.1/ifSpeed.1&ifSpeed.1:ncspublic at 192.168.133.1) * 800
MaxBytes[192.168.133.1_1]: 100

PAUL WILLIAMSON <pwilliamson at mandtbank.com> wrote:
MRTG supplies the percentage in the parenthesis within the graph. If you apply the 
unscaled option to the config, the graph will accurately reflect what the percentage 
of total bandwidth is. Instead of that long complicated line for calculation...try running 
cfgmaker and letting mrtg figure out the target and maxbytes.

Paul

>>> "Meng Keng Lee" 06/14/04 08:03AM >>>

Hello,

Is there a way to measure Network Utilisation (in percentage form) in MRTG?

I used this formula:

Target[192.168.133.1_1]: (ifInOctets.1&ifOutOctets.1:ncspublic at 192.168.133.1/ifSpeed.1&ifSpeed.1:ncspublic at 192.168.133.1) * 800
MaxBytes[192.168.133.1_1]: 100

but it gave me the following error that it cannot update the rrd file cause the value derived (1702.5454543543) is not a simple integer.

Is there anyone out there who had successfully implemented network utilisation (in percentage format) in MRTG?

Help will be appreciated.



Regards







---------------------------------
Do you Yahoo!?
Friends. Fun. Try the all-new Yahoo! Messenger

--
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 




--
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!?
Friends.  Fun. Try the all-new Yahoo! Messenger

--
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