[SNMP4J] snmpv3 Test Agent returning usmStatsUnknownUserNames.0

Frank Fock fock at agentpp.com
Thu Feb 25 23:26:20 CET 2016


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




More information about the SNMP4J mailing list