SNMPv3 Authentication Error

[email protected]
Newsgroups gmane.network.net-snmp.user
Message-ID <OF3B54E0FA.3C40BDE2-ON80257928.003860B2-80257928.00393FB0@selexelsag.com>
Hi,

I am trying to configure my Net-SNMP sub-agent to be an SNMPv3 agent with 
SHA Authentication and no privacy. I have been succesfully running it as 
an SNMPv2 agent up until now. My configuration is that I have a Master 
Agent  communicating with a Perl Sub Agent using AgentX and running on 
Windows. I am using version 5.7.1 pre release 2 of Net-SNMP and have built 
it with SSL support.

I tried to set up an SNMPv3 user using the net-snmp-config script which 
gave me the error below - I don't see it installed on my PC.:

'net-snmp-config' is not recognized as an internal or external command,
operable program or batch file.

Instead I tried to modify the snmpd.conf file to create a user as per the 
snmpd.conf documentation as follows:

createUser guest SHA password
rwuser guest


When I try to issue an SNMP get request I get the following authentication 
error:

R:\software>snmpget -v 3 -u guest -a SHA -A password -l authNoPriv 
127.0.0.1:8161 SNMPv2-MIB::sysUpTime.0
snmpget: USM authentication failure (incorrect password or key)

Does anyone know what the problem could be?

Any help would be appreciated.

Regards,

Ali


Please consider the environment before printing this email



-----------------------------------------------
This email and any attached files contains company confidential information which may be legally privileged.  it is intended only for the person(s) or entity to which it is addressed and solely for the purposes set forth therein.  If you are not the intended recipient or have received this email in error please notify the sender by return, delete it from your system and destroy any local copies.  It is strictly forbidden to use the information in this email including any attachment or part thereof including copying, disclosing, distributing, amending or using for any other purpose.

In addition the sender excludes all liabilities (whether tortious or common law) for damage or breach arising or related to this email including but not limited to viruses and libel.

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2d-oct

_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
(unnamed) (image/gif, 987 B) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.