how can i verify the threshold value from MRTG
Dear Sirs,
i am a new one from Taiwan,thanks for your help.
I have a problem is how to get the threshold value from MRTG setup,my shell problem is below:
#!/bin/sh
if=$1
threshold=$2
num=$3
number=${num%.*}
typeset -i number
all=`expr $num \* 80`
percent=`expr $all \/ $threshold`
number=`expr $number \* 8`
/usr/bin/printf "Sonet $if 流量異崤`, 請處理.\n目前流出流量為: $number bps. $percent percent \n" | /bin/mail -s "Sonet ATM 流量異崤`通告!!"
but i still can't get any threshold value from MRTG,so can you teach me how to varify it?
Thanks.
|