discoverAuthoritativeEngineID returns null

I’m trying to fetch the EngineId of the V3 trap sender but Snmp#discoverAutoritativeEngineID always returns null. I tried increasing the time out but its not working.
The code was working earlier. I used to get the Engine Id.
I believe there has to be something with sender. Could you please help to understand the reason behind returning null?

A null return value means, that the agent did not respond within the timeout time frame.

I tried increasing the timeout interval but still it is returning null.
Is there any possibility of sender is not listening on 161 when receiver goes to call Snmp.discoverAuthoritativeEngineID?

Sure, depends on the sender :wink:

1 Like