[mrtg] Re: BW Utilization in %

Alex van den Bogaerdt alex at slot.hollandcasino.nl
Wed Dec 1 16:45:05 MET 1999


Carlos Sebastian Vieira Uribe wrote:
> 
> Hi,
> 
> Anyone knows how can i graph BW utillization in % from a Cisco Router??
> 

You could try one of the following two approaches:

1)  Try to find an OID that gives you the "load" value (as shown by
    a show interface xxx command).  This will probably be [x/255] so
    you need to do some math on it (multiply by 100, divide by 255).
    I don't know if there is one available and if so, I wouldn't be
    surprised if this would be device and OS dependant.

2)  Use the ifInOctets and ifOutOctets counters.  Divide by the outcome
    of (linkspeed / 100).  You will have to set this value manually or
    write a script that retrieves all three values and returning the
    outcome.

Regards,
-- 
   __________________________________________________________________
 / 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 |
+----------------------------------------------------------------------+

--
* To unsubscribe from the mrtg mailing list, send a message with the
  subject: unsubscribe to mrtg-request at list.ee.ethz.ch
* The mailing list archive is at http://www.ee.ethz.ch/~slist/mrtg


More information about the mrtg mailing list