[mrtg] Re: How to measure Network Utilisation Percentage in MRTG
Meng Keng Lee
mengkenglee at yahoo.com
Tue Jun 22 04:50:02 MEST 2004
Hello,
To see what value it will produce I set the ThreshMaxO[A2RT01.Fa4_0_0.load]:0% and run a perl script to show the current parameter value.
But the value I get is 26052.2781666667 and 5179.73132222222. Both value are definitely not below 100%
Any help on this?
Regards
Eric Brander <Eric_Mailing_List at rednarb.com> wrote:
Meng Keng Lee wrote:
> Hello Eric,
> Below is my MRTG configuration:
> Target[A2RT01.Fa4_0_0.load]: #Fa4/0/0:test at 192.168.130.250:
> SetEnv[A2RT01.Fa4_0_0.load]: MRTG_INT_IP="192.168.130.250" MRTG_INT_DESCR=""
> Directory[A2RT01.Fa4_0_0.load]: A2RT01
> YLegend[A2RT01.Fa4_0_0.load]: Link Utilization
> #kilo[A2RT01.Fa4_0_0.load]: 1024
> #ShortLegend[A2RT01.Fa4_0_0.load]: bps
> Legend1[A2RT01.Fa4_0_0.load]: Utilizaiton (In)
> Legend2[A2RT01.Fa4_0_0.load]: Utilization (Out)
> Legend3[A2RT01.Fa4_0_0.load]:
> Legend4[A2RT01.Fa4_0_0.load]:
> LegendI[A2RT01.Fa4_0_0.load]: In Utilization:
> LegendO[A2RT01.Fa4_0_0.load]: Out Utilization:
> #Unscaled[A2RT01.Fa4_0_0.load]: ywmd
> MaxBytes[A2RT01.Fa4_0_0.load]: 12500000
> Options[A2RT01.Fa4_0_0.load]: growright,bits,nopercent
> ThreshMaxi[A2RT01.Fa4_0_0.load]:70
Try appending a % to the 70.
> ThreshProgI[A2RT01.Fa4_0_0.load]:e:\mrtg\bin\thresholdalert.pl
> ThreshProgOKI[A2RT01.Fa4_0_0.load]:e:\mrtg\bin\thresholdalert.pl
> ThreshMaxO[A2RT01.Fa4_0_0.load]:70
Ditto.
Line should look like this:
ThreshMaxO[A2RT01.Fa4_0_0.load]:70%
> ThreshProgO[A2RT01.Fa4_0_0.load]:e:\mrtg\bin\thresholdalert.pl
> ThreshProgOKO[A2RT01.Fa4_0_0.load]:e:\mrtg\bin\thresholdalert.pl
> Title[A2RT01.Fa4_0_0.load]: A2RT01 #Fa4/0/0 Link Utilization
> PageTop[A2RT01.Fa4_0_0.load]: A2RT01 #Fa4/0/0 Link Utilization
>
> System:A2RT01 in
> Maintainer:
> Description:
> ifType:ethernetCsmacd (6)
> ifName:Fa4/0/0
> Max Speed:100.000 Mbits/s
> Ip:192.168.130.250 ()
>
>
> Am I correct to say that my perl script will work if it hits above 70% of the Input and Output Utilisation?
>
> Thanks for your help
~snip~
That should do it.
Eric Brander
--
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
Homepage http://www.mrtg.org
WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
---------------------------------
Do you Yahoo!?
Yahoo! Mail - 50x more storage than other providers!
--
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