[mrtg] SNMPv3 - MRTG on Windows monitor Linux router

Petr Lázňovský lazna at volny.cz
Wed Jun 5 16:55:14 CEST 2013

Monitoring Linux router with 6 100Mb interfaces with MRTG on Windows machine. Now upstream interface card is changed to 1Gbps which need to use 64bit counters. Than I enabled SNMPv3 on the router by this link, all test passed OK.

Than I also changed my cfg according to mrtg manual and install SNMP-net and snmp-net-utils packages via PPM.

With this command:

perl mrtg config.cfg --debug=snpo

got this error on interface where SNMPv3 is used:

--snpo: (0) Populate ConfCache for
substr outside of string at mrtg/bin\..\lib\mrtg2/Net_SNMP_util.pm line 1814.
Use of uninitialized value $tmpo in concatenation (.) or string at mrtg/bin\..\lib\mrtg2/Net_SNMP_util.pm line 1815.

Perl: v5.16.3
Mrtg: mrtg-2.17.4
OS: Windows 2003 server

Global cfg section:

EnableIPv6: no
RunAsDaemon: Yes
WorkDir: c:\monitoring\
IconDir: C:\monitoring\mrtg\images
Language: Czech
EnableSnmpV3: yes
options[_]:  growright,bits,unknaszero,nobanner,nolegend

Gigabit ETH interface section:

### Interface 10 >> Descr: 'eth9' | Name: 'eth9' | Ip: '
Target[]: #eth9:public at
SetEnv[]: MRTG_INT_IP="" MRTG_INT_DESCR="eth9"
MaxBytes[]: 1250000000
Title[]: eth9   -- Router
PageTop[]: <h1>eth9   -- Router</h1>
SnmpOptions[]: username=>'guest'

Any ideas?

More information about the mrtg mailing list