[mrtg] Re: Bandwitdh Utilization in %

Brett Hairbottle bobo at tridata.co.za
Wed Oct 25 21:08:33 MEST 2000


Hi All

I have been using the following method of show % utilization of bandwith.
This is how i do it

We dont actually calculate percentages here as you normally
would. What we do it the following : The maximum speed of the line is
according to maxbytes 8000 (64K line). Now if you look at the graphs being
generated you'll see that is shows the bytes on the left legend. All we do
is force the maxbytes to 100 (so that it looks like percentages). For this
to work we need to devide both sides with 80. Look at the numbers following.

maxbytes for a 64 KBit line = 8000 bytes
to see the 100 under %utilization we need to change maxbytes to 100

maxbytes = linespeed
8000 = linespeed
to get maxbytes equal to 100 we need to divide by 80 both sides

8000 / 80 = linespeed / 80
        100 = linespeed / 80

the .cfg file will look like this

    Target[138.182.0.225.2]: 2:public at 138.182.0.225 / 80
    MaxBytes[138.182.0.225.2]: 100
    Unscaled[138.182.0.225.2]: dwym
    YSize[138.182.0.225.2]: 200
    XSize[138.182.0.225.2]: 400
    YLegend[138.182.0.225.2]: % Utilisation
    YTics[138.182.0.225.2]: 10
    YTicsFactor[138.182.0.225.2]: 1

Have a look at the attached graph and you will see what it looks like.


Brett


----- Original Message -----
From: "Jelle Beusen" <beusen25 at zonnet.nl>
To: "Marcelo Rosa" <MRosa at multirede.com.br>
Cc: <mrtg at list.ee.ethz.ch>
Sent: Monday, October 23, 2000 9:07 PM
Subject: [mrtg] Re: Bandwitdh Utilization in %


>
> Hmmm I would almost thing that this has to be done in an outside script
> .....
>
> let mrtg collect the data and then a script extract the values out of the
db
> and do the math and put it back in.........
>
> hmmmmm might be a bit tricky..
>
> anybody any better ideas ?
>
> ----- Original Message -----
> From: "Marcelo Rosa" <MRosa at multirede.com.br>
> Sent: Monday, October 23, 2000 6:46 PM
> Subject: [mrtg] Bandwitdh Utilization in %
>
>
> >
> > Hi,
> >
> > Does anyone knows haow to make MRTG runs the following formula??
> >
> > [(delta_ifInOctets + delta_ifOutOctets)*8*100]/delta * ifSpeed
> >
> > Where delta_ifInOctets & delta_ifOutOctets are the value collected now
> minus the previus value of the counters and delta is the frequency in wich
I
> run MRTG.
> >
> > Regards,
> >
> >
> >
> > -\-\-\-\-\-        Marcelo de Azevedo Rosa (mrosa at multirede.com.br )
> > -/-/-/-/-/-        MULTIREDE Informatica Ltda - www.multirede.com.br
> > -\-\-\-\-\-        São Paulo, SP:  Rua Dr. Renato Paes de Barros, 778 -
5º
> e 10º and. - 04530-001
> > -/-/-/-/-/-        Tel: +55 11 3848-9001  Fax: +55 11 3848-0001- Brasil
> > -\-\-\-\-\-        Rio de Janeiro, RJ: Rua Lauro Muller, 116 - sala
1706 -
> 22290-160
> > -/-/-/-/-/-        Tel: +55 21 543-2728  Fax: +55 21 543-3934 - Brasil
> >
> >
> > --
> > 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
>

-- Attached file removed by Listar and put at URL below --
-- Type: image/png
-- Size: 5k (6099 bytes)
-- URL : http://www.ee.ethz.ch/~slist/pantomime/cisco2.2-day.png


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