[mrtg] Re: How to measure Network Utilisation Percentage in MRTG
Eric Brander
Eric_Mailing_List at rednarb.com
Thu Jun 17 16:56:45 MEST 2004
Meng Keng Lee wrote:
> Hello Eric,
> Below is my MRTG configuration:
> Target[A2RT01.Fa4_0_0.load]: #Fa4/0/0:ncspublic 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]: <H1>A2RT01 #Fa4/0/0 Link Utilization</H1>
> <TABLE>
> <TR><TD>System:</TD> <TD>A2RT01 in </TD></TR>
> <TR><TD>Maintainer:</TD> <TD></TD></TR>
> <TR><TD>Description:</TD><TD> </TD></TR>
> <TR><TD>ifType:</TD> <TD>ethernetCsmacd (6)</TD></TR>
> <TR><TD>ifName:</TD> <TD>Fa4/0/0</TD></TR>
> <TR><TD>Max Speed:</TD> <TD>100.000 Mbits/s</TD></TR>
> <TR><TD>Ip:</TD> <TD>192.168.130.250 ()</TD></TR>
> </TABLE>
>
> 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
More information about the mrtg
mailing list