In digging through the MRTG.pm library, it seems the matching of the options is not case insensitive in 2.10.15; the matching of "Options" is lc'd, and the actual target name is lc'd, but $3, the string of actual options, is left intact when compared to the list of known options, which are in lower case. If you change Bits to bits, MRTG should start multiplying by 8 again.
Matt ----- Original Message ---- From: Martin Rheumer <[EMAIL PROTECTED]> To: [email protected] Sent: Monday, February 26, 2007 8:49:18 AM Subject: [mrtg] Possible Bug / Incorrect Config mrtg 2.15.0 Peeps, We have an interesting issue with this config. The oid is an octet count for an ATM PVC connection and when queried directly via an snmpget every 5 minutes produces a value 8 times what mrtg retrieves. As you can see we have added an * 8 currently to make mrtg report correctly. Can anyone see any reason why this doesnt work. It has changed since we upgraded from rrdtool 1.0.48 and mrtg 2.13.2 to rrdtool 1.2.0 and mrtg 2.15.0. The previous version of rrdtool and mrtg counted this interface as 8 times what the current version is with no changed to the config, except adding the rrdtool config to the top PathAdd: /usr/local/mrtg/rrdtool/bin LibAdd: /usr/local/mrtg/rrdtool/lib/perl/5.8.8/i386-linux-thread-multi/ LogFormat: rrdtool Target[192.168.34.126.L2_AGVC_1_TEST2]: 1.3.6.1.4.1.2352.3.1.1.1.1.3.7.0.52&1.3.6.1.4.1.2352.3.1.1.1.1.4.7.0.52:publ [EMAIL PROTECTED] * 8 Title[192.168.34.126.L2_AGVC_1_TEST2]: Layer 2 16Mb AGVC1 Utilisation routers.cgi*ShortDesc[192.168.34.126.L2_AGVC_1_TEST2]: Layer 2 16Mb AGVC1 Utilisation MaxBytes[192.168.34.126.L2_AGVC_1_TEST2]: 16000000 Options[192.168.34.126.L2_AGVC_1_TEST2]: Growright, Bits PageTop[192.168.34.126.L2_AGVC_1_TEST2]: <H1>Layer 2 16Mb AGVC1 - ACT - Utilisation</H1> <TABLE> <TR><TD>System : </TD><TD>bras1800 ACT Layer2 Traffic</TD></TR> <TR><TD>Interface : </TD><TD>atm3/0 pvc 0/52</TD></TR> <TR><TD>Line : </TD><TD>ACT L2 PVC 1 </TD></TR> <TR><TD>Connection ID : </TD><TD>16 Mbits/s</TD></TR> </TABLE> Thanks again Martin _______________________________________________ mrtg mailing list [email protected] https://lists.oetiker.ch/cgi-bin/listinfo/mrtg ____________________________________________________________________________________ Food fight? Enjoy some healthy debate in the Yahoo! Answers Food & Drink Q&A. http://answers.yahoo.com/dir/?link=list&sid=396545367 _______________________________________________ mrtg mailing list [email protected] https://lists.oetiker.ch/cgi-bin/listinfo/mrtg
