Re: SNMPv3 Authentication Error

Bart Van Assche <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <CAO+b5-pihsJvEpkqq3aUdMDh770FQ14D0oCw8x4b_6m_bEAVwA@mail.gmail.com>
On Thu, Oct 13, 2011 at 12:25 PM, <[email protected]> wrote:

> 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)
>

Not sure why SHA doesn't work. Have you already tried to the same with MD5
instead of SHA ? MD5 works fine here.

Bart.

------------------------------------------------------------------------------
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
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.