Subject: | SNMPv3 authentication failures, but data gets retrieved |
Date: | Mon, 28 Mar 2011 10:50:39 +0200 |
To: | "'bug-Net-SNMP [...] rt.cpan.org'" <bug-Net-SNMP [...] rt.cpan.org> |
From: | "Arnold, Christian" <C.Arnold [...] le-mail.de> |
Hi there,
I have installed Net::SNMP on my Ubuntu Linux box via CPAN, and I get an authentication failed message from two different type of machines when I use SNMPv3 to access data from them.
Net::SNMP is the latest version from CPAN (v6.0.1) on Perl 5.10.1 from Ubuntu 10.4 32bit
One type of machine is from Alcatel (OmniStack switches) and the other is from Funkwerk AG (a media gateway and two WLAN bridges).
The thing is, that Net::SNMP successfully retrieves the data requested, but seems to try it in different ways. Also no auth failed messages are logged when using snmpget with AuthPriv from console (v5.6.1), so it has to be the Perl module.
I hope you can help me, it took a while until I noticed that net-snmp (snmpget, snmpwalk, ...) and Net::SNMP are not the same, but net-snmp also has a SNMP perl module (which is "SNMP").
Regards
Christian