Frank:

I wonder how to make a notification recipient receive an 
authenticationFailure notification when an agent received an query with 
bad user name or bad password. 
When agent receives a v2 query with bad community string, the api 
SNMPv2Mib:: incrementCounter() calls notify api and send out 
notifications.   But when the agent receives a v3 query with bad 
username,  no notification is send out.

I am using : SNMP4J is version 1.9.3c, and SNMP4JAgent is version 1.2.1d.

This is second question. According to CHANGES.txt on snmp4j site:

[2009-07-30] v1.3.1 (Requires SNMP4J v1.10.1)
....
* Improved: Authentication failure traps are no longer
  sent on usmNotInTimeWindow and usmUnknownEngineID
  reports.

I am wondering why?  If a user has a bad username, would that cause 
usmNotInTimeWindow error since the second part of discovery requires 
user credential?

Thanks.

Vivi


_______________________________________________
SNMP4J mailing list
[email protected]
http://lists.agentpp.org/mailman/listinfo/snmp4j

Reply via email to