[mrtg] Re: Incorrect MAX speed- atm

Daniel J McDonald dan.mcdonald at austinenergy.com
Thu Oct 2 14:44:43 MEST 2003


On Thu, 2003-10-02 at 02:07, von dan wrote:
> My router interface bw is 40704 Kbit. I have 2 MRTG Linux box , one
> stated max speed 5088.0kBytes and the other 1250kBytes. My collegues
> said the correct speed is 1250kBytes.
cfgmaker just looks at the bandwidth statement.  With a bandwidth of
40704, the correct value for maxbytes is 5088.

However, if your actual speed is less than the bandwidth statement, and
you can't change the bandwidth statement because of some routing hack
you are doing, then you have to either manually modify your maxbytes
statement, or write a template that will determine the proper value for
you.

If you have just a couple of atm interfaces, I'd probably write a
template that picked out those particular interfaces and hard coded the
values.

If you have a large number of traffic shaped connections, then I would
probably create a database in mysql to track those things, then write a
template that looks up the appropriate CIR and PIR from the database and
sets maxbytes and absmax accordingly.

I suppose you could look into the CISCO-QOS-mumble-MIB and find some
stats that would give you PIR and CIR, and you could write a template
that polled those using snmp.

>  The only way I can change the max speed is to edit the *.cfg file.
> But whenever I re-run my cfgmaker script, I get 5088.0kBytes. I want
> to find out who is correct, 5088 or 1250.
-- 
Daniel J McDonald, CCIE 2495, CNX
Austin Energy


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