[mrtg] snmpv3 - problems with cfgmaker

jpulido at utap.ej-gv.es jpulido at utap.ej-gv.es
Wed Jan 31 16:31:26 CET 2007


Hi all,

I'm unable to configure MRTG to work with SNMPv3. I'm using mrtg-2.15 on a 
WXP machine, and when I try to make the cfg file with cfgmaker:

perl cfgmaker --global "EnableSnmpV3: yes" --username="mrtg" 
IP.IP.IP.IP:::::3  (the easiest configuration)

I get this error: 
--base: SNMP V3 libraries found, SNMP V3 enabled.
Undefined subroutine &main::snmpmapOID called at cfgmaker line 1497.

If, for example, I try to do a snmpwalk from netsnmp, I get the result 
perfectly.


I've also tried to make the config myself this way:

EnableSnmpv3: yes

######### ddd ############

Target[IP.IP.IP.IP_1]: 1:IP.IP.IP.IP:::::3
SnmpOptions[IP.IP.IP.IP_1]: username=>"mrtg"
        <div>
        </div>


workdir: d:\mrtg_www

But unfortunately I get another error:

2007-01-31 16:29:00: ERROR: Target[IP.IP.IP.IP_1][_IN_] 
'1:IP.IP.IP.IP:::::3' (warn): Bareword "IP.IP.IP.IP::::" refers to 
nonexistent package at (eval 16) line 1.
2007-01-31 16:29:00: ERROR: Target[IP.IP.IP.IP_1][_OUT_] 
'1:IP.IP.IP.IP:::::3' (warn): Bareword "IP.IP.IP.IP::::" refers to 
nonexistent package at (eval 17) line 1.

Can anybody help?

Thanks a lot

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.oetiker.ch/pipermail/mrtg/attachments/20070131/ac206e7d/attachment.html 


More information about the mrtg mailing list