Our application is using AdventNet SNMP API for receiving traps.
When I am sending traps from AdventNet based trap sender, my application is not receiving snmpv3 traps for AUTHPRIV security model.
Although it is receiving snmpv3 traps for NOAUTHNOPRIV.
It will be a great help if you can explain where the problem is and how to solve it?
I believe that the trap receiver application is not getting the correct engine id.
It is using following api to get the engine id.
SNMPAPI api = new SNMPAPI();
and I think above api is not working correctly and that's why trap receiver application is not receiving snmpv3 traps for AUTHPRIV case, since engine id plays an important role for creating keys in snmp v3 protocol for AUTHPRIV security model.
I ran snmpv3tapd.java program (located in, <product-home>/examples/ low_level_api_examples/snmpapps/ ,folder) with following command line arguments: -d -p 1162 -c public -e 0x3139322e3136382e38302e3223313631 -u privUser -a MD5 -w authUser -pp DES -s privUser
and its receiving snmpv3traps for authpriv security model.
But in this program we are supplying agent's engine id as a command line argument.
I need an interface (i.e. api) that will provide agent's engine id at manager's end.
I should not ask customers to provide the engine id of the agent. My trap receiver application ,itself, should be able to get the engineID of agent and receive traps.