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]:
DefaultTcpTransportMappingandTLSTMleak sockets on a reconnect with race condition. - Improved: Calling
resetConnectionfollowed by openSession onAgentXSubagentwill 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:
AgentXPeernow acceptsConnectionOrientedTransportMappingsinstead any TransportMapping. The same is true for AgentXSubagent.openSession. These changes were necessary to support correct disconnect/resume/reconnect operations onDefaultTcpTransportMappingandTLSTM. - Fixed:
NullPointerExceptioninAgentXSubAgent.connect(A masterAddress, A localAddress, AgentXSession session, List<TransportStateListener> stateListeners)caused by NPE inaddMastermethod ifstateListenersisnull.
Release Notes SNMP4J-AgentX 2.7.2
- Fixed [SFJ-235]:
DefaultTcpTransportMappingandTLSTMleak sockets on a reconnect with race condition. - Improved: Calling
resetConnectionfollowed by openSession onAgentXSubagentwill 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:
NullPointerExceptioninAgentXSubAgent.connect(A masterAddress, A localAddress, AgentXSession session, List<TransportStateListener> stateListeners)caused by NPE in addMaster method ifstateListenersisnull.