[mrtg] Possible Bug / Incorrect Config mrtg 2.15.0

Matthew Petach mpetach at yahoo.com
Mon Feb 26 06:30:56 CET 2007

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.


----- Original Message ----
From: Martin Rheumer <martinr at hotkey.net.au>
To: mrtg at lists.oetiker.ch
Sent: Monday, February 26, 2007 8:49:18 AM
Subject: [mrtg] Possible Bug / Incorrect Config mrtg 2.15.0


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
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
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

ic at * 8
Title[]: Layer 2 16Mb AGVC1 Utilisation
routers.cgi*ShortDesc[]: Layer 2 16Mb AGVC1
MaxBytes[]: 16000000
Options[]: Growright, Bits
PageTop[]: <H1>Layer 2 16Mb AGVC1 - ACT -
    <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>

Thanks again

mrtg mailing list
mrtg at lists.oetiker.ch

Food fight? Enjoy some healthy debate 
in the Yahoo! Answers Food & Drink Q&A.

More information about the mrtg mailing list