SNMP4J-AgentX versions 3.2.0 and 2.7.2 have been released 2020-11-13T23:00:00Z to fix/improve reconnection handling for AgentX subagents.
Dependencies SNMP4J-AgentX 3.2.0
- SNMP4J-Agent 3.3.6
- SNMP4J-Agent-DB 3.3.6
- SNMP4J 3.4.4
- Java 9
Dependencies SNMP4J-Agent 2.7.2
- SNMP4J-Agent 2.7.4
- SNMP4J 2.8.6
- Java 8
Release Notes SNMP4J-AgentX 3.2.0
- Fixed [SFJ-235]:
DefaultTcpTransportMapping
andTLSTM
leak sockets on a reconnect with race condition. - Improved: Calling
resetConnection
followed by openSession onAgentXSubagent
will close the transport to the master and suppress sending and thus also reopening connection to the master until a new session is explicitly opened again to that master agent. - Changed:
AgentXPeer
now acceptsConnectionOrientedTransportMappings
instead any TransportMapping. The same is true for AgentXSubagent.openSession. These changes were necessary to support correct disconnect/resume/reconnect operations onDefaultTcpTransportMapping
andTLSTM
. - Fixed:
NullPointerException
inAgentXSubAgent.connect(A masterAddress, A localAddress, AgentXSession session, List<TransportStateListener> stateListeners)
caused by NPE inaddMaster
method ifstateListeners
isnull
.
Release Notes SNMP4J-AgentX 2.7.2
- Fixed [SFJ-235]:
DefaultTcpTransportMapping
andTLSTM
leak sockets on a reconnect with race condition. - Improved: Calling
resetConnection
followed by openSession onAgentXSubagent
will close the transport to the master and suppress sending and thus also reopening connection to the master until new session is explicitly opened again to that master agent. - Fixed:
NullPointerException
inAgentXSubAgent.connect(A masterAddress, A localAddress, AgentXSession session, List<TransportStateListener> stateListeners)
caused by NPE in addMaster method ifstateListeners
isnull
.