[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mrtg
Subject:    Re: [mrtg] Another MRTG SNMPv3 problem
From:       Tobias Oetiker <tobi () oetiker ! ch>
Date:       2011-11-30 17:25:30
Message-ID: alpine.DEB.2.02.1111301824160.15436 () engelberg ! oetiker ! ch
[Download RAW message or body]

Hi Rich,

Today Rich K wrote:

> Installed programs versions: MRTG 2.17.2 & ActivePerl-5.8.0.802
>
> I'm trying to get MRTG using SNMPv3 running under Windows 7. I have
> successfully used it with SNMPv1 but need to make the change to v3. I have
> combed the message board to see what I'm doing wrong but haven't found
> anything. I have successfully installed:
>
> NET::SNMP v(6.01)
> Crypt::DES v(2.05)
> Digest::MD5 v(2.51)
> Digest::SHA1 v(2.13)
> Digest::SHA v(5.63)
> Digest::HMAC v(1.03)
> Crypt::Rijndael v(1.09)
>
> I tested NET::SNMP with <perl -e "use Net::SNMP"> and just a prompt back.
> I've used the command <perl -MCPAN -e "install Crypt::DES">, etc to verify
> I have the latest versions of all non-core modules.
>
> When I run cfgmaker with the following parameters:
>
> perl cfgmaker --enablesnmpv3 --username=<username> --authprotocol=sha
> --authpassword=<passwd> --privprotocol=aescfb128 --privpassword=<passwd>
> --contextengineid=8000000903002893FE999B81 --snmp-options=:::::3 <switch IP>
>
> I get the error:
> Usage:
>     cfgmaker [options] [community@]router [[options] [community@]router ...]
>
> <removed for brevity>
>
> '--privprotocol' is not recognized as an internal or external command,
> operable program or batch file.

well the error you get is from Windows not from cfgmaker, for some
my guess is that your password contains a character which causes
windows to assume that a new command is commming up ... try putting
quotes ("xxx") around the password

cheers
tobi


>
> I have tried using each of these cfb128aes, cfb128aes128, aescfb128 for
> --privprotocol but get the same error every time. I have looked at the
> USM.pm and it looks like aescfb128 is the correct one.
>
> My username contains numbers, letters and the "!" My passwords contain
> numbers, letters "!" and "&" for characters, could those be causing the
> problem?
>
> Any suggestions? Comments? Nasty Remarks? Thanks for your time.
>
>

-- 
Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten, Switzerland
http://it.oetiker.ch tobi@oetiker.ch ++41 62 775 9902 / sb: -9900

_______________________________________________
mrtg mailing list
mrtg@lists.oetiker.ch
https://lists.oetiker.ch/cgi-bin/listinfo/mrtg
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic