I have a scalar to be configured on my system.
I have override the commit function of this scalar, add some handling functions there.
When I test the code, I found some issues:
- the commit function returned very fast less than 1 second, but per the package captured, it seem that SNMP4J took more than 1 second to send out “get-response”. this triggered retrying from the client side.
- then “set-request” are send several times for retry, and SNMP4J invoke the “commit” function for several times, for the snmpset of same request-id. I thought the retry is for UDP transport layer, if SNMP4J have receive the request, it means transport layer is OK, the same request should not be send to application layer multiple times. Could SNMP4J block the duplicate request with same request-id?
Looking forward to your help. Thanks.