Discussion:
MRTG interface speed is wrong
(too old to reply)
Sankararaman
2010-08-25 05:37:26 UTC
Permalink
Need help

I am using cfgmaker for mrtg-2.16.2. Interface speed is polled
wrongly . I am polling juniper MX960 router .

ouput

more test.cfg | grep 36.36.36.36_xe-11_1_0
Target[36.36.36.36_xe-11_1_0.2]:
#xe-11/1/0.2:***@36.36.36.36::::2
SetEnv[36.36.36.36_xe-11_1_0.2]: MRTG_INT_IP="10.200.2.61"
MRTG_INT_DESCR="xe-11/1/0.2"
MaxBytes[36.36.36.36_xe-11_1_0.2]: 536870911
Title[36.36.36.36_xe-11_1_0.2]: Traffic Analysis for xe-11/1/0.2 --
mx960-lab
PageTop[36.36.36.36_xe-11_1_0.2]: <h1>Traffic Analysis for xe-11/1/0.2
-- mx960-lab</h1>
Target[36.36.36.36_xe-11_1_0.0]:
#xe-11/1/0.0:***@36.36.36.36::::2
SetEnv[36.36.36.36_xe-11_1_0.0]: MRTG_INT_IP="10.200.2.25"
MRTG_INT_DESCR="xe-11/1/0.0"
MaxBytes[36.36.36.36_xe-11_1_0.0]: 536870911
Title[36.36.36.36_xe-11_1_0.0]: Traffic Analysis for xe-11/1/0.0 --
mx960-lab
Hans Jørgen Jakobsen
2010-08-25 17:59:08 UTC
Permalink
Post by Sankararaman
Need help
I am using cfgmaker for mrtg-2.16.2. Interface speed is polled
wrongly . I am polling juniper MX960 router .
ouput
more test.cfg | grep 36.36.36.36_xe-11_1_0
SetEnv[36.36.36.36_xe-11_1_0.2]: MRTG_INT_IP="10.200.2.61"
MRTG_INT_DESCR="xe-11/1/0.2"
MaxBytes[36.36.36.36_xe-11_1_0.2]: 536870911
Title[36.36.36.36_xe-11_1_0.2]: Traffic Analysis for xe-11/1/0.2 --
mx960-lab
PageTop[36.36.36.36_xe-11_1_0.2]: <h1>Traffic Analysis for xe-11/1/0.2
-- mx960-lab</h1>
SetEnv[36.36.36.36_xe-11_1_0.0]: MRTG_INT_IP="10.200.2.25"
MRTG_INT_DESCR="xe-11/1/0.0"
MaxBytes[36.36.36.36_xe-11_1_0.0]: 536870911
Title[36.36.36.36_xe-11_1_0.0]: Traffic Analysis for xe-11/1/0.0 --
mx960-lab
I don't use this sw.
Speed is read through ifSpeed but its 32bit so you can't have
values above 4Gbit.
When ifSpeed == 4G (some f... vendors a little less :) you have to read
ifHighSpeed.
/hjj

Loading...