Hellow! Can you help me - I have the error: Undefined subroutine &main::snmpmapOID called at cfgmaker line 1532. when I try to make a mrtg.cfg.
cisco 2960-48 (part of config): snmp-server engineID remote 10.0.77.39 1234567890 snmp-server group mygroup v3 auth snmp-server user myuser mygroup v3 auth md5 mypassword where 10.0.77.39 - ip address of the windows server with mrtg, 1234567890 - engineID On the Windows server I: 1. Installed MRTG 2.16.2 for Windows 2. Installed Active Perl 5.8.9.826 3. Has checked up, that Active Perl normally installed, and system paths are established normally. 4. Installed Net-SNMP-5.4.2.1.1 5. Has replased defoult Usage.pm in MRTG on Usage.pm that was delivered with Perl. 6. Has downloaded gnu_regex.exe, has unpacked and has copied it to the c:\windows\system32 folder. 7. Has made c:\usr\perl>ppm install NetSNMP.ppd 8. Has made basic test (example with Net-SNMP packet): c:\usr\bin>perl net-snmp-test.pl Normally passed. 9. Then create a config: C:\mrtg-2.16.2\bin>perl cfgmaker --global "WorkDir: c:\www\mrtg" --global "Options[_]:bits, growright" --enablesnmpv3 --snmp-options=:::::3 --username=myuser --authproto=MD5 --uthpassword=mypassword --contextengineid=context 1234567890 10.0.77.2 --output mrtg.cfg (where 1234567890-engineID, 10.0.77.2-ip address of cisco 2960) And we receive an error: Undefined subroutine &main::snmpmapOID called at cfgmaker line 1532 i.e there are no some libraries... but I don't know what to do... For example, for Linux version we must install the Net::SNMP PERL module: perl -MCPAN -e "install Net::SNMP" What to do for Windows? Thank you beforehand. Sergo. -- View this message in context: http://n2.nabble.com/Windows-MRTG-with-SNMPv3-for-cisco-tp3747415p3747415.html Sent from the MRTG Users Mailinglist mailing list archive at Nabble.com. _______________________________________________ mrtg mailing list [email protected] https://lists.oetiker.ch/cgi-bin/listinfo/mrtg
