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

_______________________________________________
mrtg mailing list
[email protected]
https://lists.oetiker.ch/cgi-bin/listinfo/mrtg

Reply via email to