[mrtg] Re: Percentage Utilisation ?

Alex van den Bogaerdt alex at slot.hollandcasino.nl
Thu May 31 16:17:31 MEST 2001


Hunt, Chris wrote:

> I've recently looked at deployment of MRTG for coverage of our WAN links'
> throughput. I'm quite impressed so far but my management say that they would
> be happier with seeing a pair of graph lines in the chart that just show
> percentage utilisation.

If you set the unscaled option, you're almost there.  If you also need
the legend for the y-axis to be correct, you can do

current_usage / MaxBytes * 100
which is current_usage / (MaxBytes / 100)

So, for a link with MaxBytes == 1250000, you should be able to
have a target similar to

Target[x]: 1:public at device / 12500

(mind the spaces !!!)

I've heard reports that divisions cause problems in the recent MRTG
release.  I've no personal experience with this so I can't tell for
sure.  You may want to start using RRDtool as the back end, this is
probably enough to solve that problem.

cheers,
-- 
   __________________________________________________________________
 / alex at slot.hollandcasino.nl                  alex at ergens.op.het.net \
| work                                                         private |
| My employer is capable of speaking therefore I speak only for myself |
+----------------------------------------------------------------------+
| Technical questions sent directly to me will be nuked. Use the list. | 
+----------------------------------------------------------------------+
| http://faq.mrtg.org/                                                 |
| http://rrdtool.eu.org  --> tutorial                                  |
+----------------------------------------------------------------------+

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