[SNMP4J] FW: snmpv3 Test Agent returning usmStatsUnknownUserNames.0

ru_44 at hotmail.com ru_44 at hotmail.com
Fri Feb 26 04:46:33 CET 2016


 
From: ru_44 at hotmail.com
To: fock at agentpp.com
Subject: RE: [SNMP4J] snmpv3 Test Agent returning usmStatsUnknownUserNames.0
Date: Thu, 25 Feb 2016 22:44:25 -0500




Frank,
Thanks for the quick response.  I have attached the log set to debug for the test agent.
please note that only my first get request is in here that returns usmStatsUnknownUserName.
thanks
Rushik
 
> Subject: Re: [SNMP4J] snmpv3 Test Agent returning usmStatsUnknownUserNames.0
> From: fock at agentpp.com
> Date: Thu, 25 Feb 2016 23:26:20 +0100
> CC: snmp4j at agentpp.org
> To: ru_44 at hotmail.com
> 
> Helo Rushik,
> 
> The usmStatsUnknownUserNames report should not occur. Why it occurs can only be answered
> if you also provide the DEBUG log of the agent run which contains the exchanged messages.
> I suspect an issue with the command generator configuration.
> 
> Best regards,
> Frank  
> 
> 
> > On 25 Feb 2016, at 22:29, ru_44 at hotmail.com wrote:
> > 
> > here is my attachment sorry forgot it on first email.
> > 
> > From: ru_44 at hotmail.com
> > To: snmp4j at agentpp.org
> > Subject: snmpv3 Test Agent returning usmStatsUnknownUserNames.0
> > Date: Thu, 25 Feb 2016 16:27:32 -0500
> > 
> > 
> > 
> > 
> > Hello All,
> > I am new to snmp4j and want to thank Frank for an outstanding product and continued development.
> > I am using the TestAgent example to run a snmp v3 agent with my own USM profile "MAagent".
> > 
> > The first time I sent a snmp get request for v3 I am getting back the report with "usmStatsUnknownUserNames.0".   All subsequent requests work correctly. 
> > My question is why the first snmp request returns with usmStatsUnknownUserNames.0.  
> > Reading RFC 2274 (USM for SNMPv3) that means the usmUserTable doesn't have the username and authoritative engine ID.  
> > but if this was the case it wouldn't work on all subsequent attempts and I verified that the USM is in the user table with my debug statements in main in the TestAgent.
> > 
> > I have attached my TestAgent for reference.  again my question is why the 1st attempt returns usmStatsUnknownUserNames.   
> > 
> > thank and appreciate any help.
> > Rushik Patel
> > 		 	   		   		 	   		  <TestAgent.java>_______________________________________________
> > SNMP4J mailing list
> > SNMP4J at agentpp.org
> > https://oosnmp.net/mailman/listinfo/snmp4j
> 
 		 	   		   		 	   		  
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: testAgent.log
URL: <http://oosnmp.net/pipermail/snmp4j/attachments/20160225/7b773a10/attachment.ksh>


More information about the SNMP4J mailing list