discoverAuthoritativeEngineID returns null

Hello,
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

Hello there, after so long time…
How is it even possible to have different EngineIDs for same host? The only different thing I’m doing is calling Snmp#discoverAutoritativeEngineID method from two different Trap receivers running on different hosts.

could you please highlight more on this?