[SNMP4J] Released: SNMP4J 1.9.1f, SNMP4J-Agent 1.2, SNMP4J-AgentX 1.1RC1, AgenPro 2.7

Frank Fock fock at agentpp.com
Thu May 22 22:40:53 CEST 2008


SNMP4J 1.9.1f, SNMP4J-Agent 1.2, and SNMP4J-AgentX 1.1RC1
as well as AgenPro 2.7.1 have been released this week.

The new releases are available from
http://wwww.snmp4j.org and http://www.agentpp.com

Within these new packages, SNMP4J-Agent introduces
the majority of changes and bug fixes. These changes
improve the configurability and usability of
SNMP4J-Agent. For details see the change log below.

The final SNMP4J-AgentX 1.1 release will be available
until 16th June.

RELEASE NOTES

SNMP4J 1.9.1f - CHANGES since 1.9

* Improved: Performance of PrivAES.extendShortKey.
* Fixed: Inconsistent descriptions in org.snmp4j
   package JavaDoc.
* Improved: DefaultUDPTransportMapping can be now reused
   after close() has been called by calling listen() again.
* Improved: Exception handling of DefaultUDPTransportMapping.
* Fixed: DefaultTCPTransportMapping blocked until an incoming
   request had been received.
* Fixed: ArgumentParser error handling and fixed bug
   regarding default value recognition in conjunction with
   regular expression.
* Improved: Snmp can now be closed and reused
   with listen() again. Internal timer is only
   created when needed.
* Improved: Exception handling when transport mapping
   cannot be initialized due to IO exceptions.
* Added: VersionInfo in org.snmp4j.version.
* Improved: Asymmetric checking of SNMPv1 compatible
   variable binding in PDUv1 removed.
* Fixed: Transport not copied in Snmp.PendingRequest
   which could cause wrong transport usage when processing
   retries (was not fixed correctly in 1.9.1b).
* Fixed: Missing PDUv1.clone() which could lead to wrong
   SNMPv1 trap PDU encoding.
* Fixed: Possible deadlock race condition when processing
   sync requests with retry > 0.
* Improved: Pending async requests will be removed after
   timeout even if the response listener did not call
   Snmp.cancel.
* Fixed: TableUtils did not return all rows if request
   PDUs had to be splitted because of too much columns.
* Fixed: Transport not copied in Snmp.PendingRequest
   which could cause wrong transport usage when processing
   retries.
* Fixed: Async request processing for broadcasts (regression
   bug in 1.9.1 which prevented mutliple responses for a
   single async request).
* Improved: OID parsing from string now supports embedded
   string to OID conversion, for example the following OIDs
   are equal:
     a = new OID("1.3.6.2.1.5.'hal.'.'''.'lo'.1");
     b = new OID("1.3.6.2.1.5.104.97.108.46.39.108.111.1");
* Improved: Added factory pattern for creating PDU for
   incoming messages parsed by message processing models.
* Fixed: Null LogLevel returned by JavaLogAdapter.getLogLevel.
* Fixed: With async request processing and retry>0 there
   could have been a race condition where a response event
   had been generated twice for a request.
* Fixed: ArgumentParser option multi parameter support
   which failed to parse options like "-option param1 param2"
   correctly.
* Changed: MessageDispatcherImpl can now be used to register
   more than one transport mapping per address class (UDP/TCP).
   Nevertheless, only the first registered one will be used
   for sending SNMP messages if no specific transport mapping
   is given.
* Improved: Target is cloned when used internally by Snmp
   instance to avoid errors through concurrent target usage.


SNMP4J-Agent 1.2 - CHANGES since 1.1.4

* Fixed: SNMPv2MIB.unregister did not unregister
   sysORLastChange.
* Added: SNMPv1 community to SampleAgent config.
* Fixed: Notification filtering by profiles.
* Fixed: BaseAgent and SampleAgent stop/restart.
* Improved: Removed unnecessary anonymous class
   definitions.
* Fixed: Sending of authenticationFailure trap
   for BaseAgent and AgentConfigManager.
* Fixed: Stackoverflow in UsmMIB.
* Added: RegisteredManagedObject interface.
* Added: VersionInfo in org.snmp4j.agent.version.
* Improved: Made constants of built-in MIB modules public.
* Added: AgentConfigManager run state and stages.
* Improved: SampleAgent with SNMP4J-DEMO-MIB implementation.
* Fixed: Direct usage of table model for row creation and
   removal has been replaced by calling the corresponding
   table methods for better object orientation.
* Fixed: MOScalar did return noSuchObject on a GET request
   on the scalar without instance identifier instead
   noSuchInstance.
* Added: UpdateStrategy and UpdatableManagedObject have
   been added to allow centralized controlled updating
   of dynamic managed objects (like DefaultMOTable)
* Improved: Design of org.snmp4j.agent.io components.
* Added: AgentConfigManager for IoC agent configuration
   which replaces BaseAgent. The latter is deprecated now.
* Changed: MOServer interface.
* Added: BITS support for Enumerated[Scalar] classes.
* Added: USM user table persistency support.
* Changed: Made MOScalar.getAccess() public.
* Improved: TextAndIncr event generation.
* Changed: Access to public for MOScalar.getAccess()
* Added: Session update for AgentConfigurator.


SNMP4J-Agent 1.1 - CHANGES since 1.0.1

* Improved: Subagent object registration now correctly
   filters out objects from servers which do not match
   registration context.
* Fixed: SubAgent.registerSharedTableRows could throw
   ConcurrentModificationException.
* Fixed: SubAgent reconnect did not re-add message
   listener for AgentX connection.
* Improved: AgentXMasterAgent now extends
   AgentConfigManager instead deprecated BaseAgent.
* Added: AgentX session can now be closed by setting
   its admin status to down(2) in the AGENTX-MIB.
* Added: Version information and check in
   org.snmp4j.agent.agentx.version.VersionInfo.
* Improved: Removed unnecessary anonymous class
   definitions.


AgenPro 2.7.1 - CHANGES since 2.6.2a

- Improved: Module.java template generates module getters.
- Improved: Added parsed code snippet count displayed in
   log for "by selection" code generation mode.
- Added: Template for debugging code merging issues in
   templates/debug.
- Added: Generation of Enum classes for notification
   objects in SNMP4J 1.1 and 1.2 code templates.
- Improved: Template select_1module1file.vm of SNMP4J 1.2
   template set now checks if an object name exists before
   a corresponding selection is generated.
- Fixed: Restored -r command line option when used
   in conjunction with the -a option.
- Fixed: Built-in MIB modules loading.
- Improved: Additional command line options to generate
   code without repository and custom config file in batch
   mode.
- Improved: SNMP4J-Agent 1.2 templates that generate also
   the glue code to integrate the generated code into an
   agent.
- Fixed: "x" can now be used as DESCRIPTION text.
- Added: Checks for consistent DISPLAY-HINT usage
   in conjunction with TC SYNTAX.
- Fixed: COMPLIANCE-MODULE checks regarding imported
   object groups and objects when used within current
   module compliance definitions.
- Changed: Relaxed OBJECT IDENTIFIER assignment checks
   to allow such assignments below object registrations.
- Fixed: Possible corruption of the MIB repository by
   duplicate module IDs.
- Improved: MIB sorting for module compilation in
   command line mode.
- Added: SNMP4J-Agent code generation property "package"
   to generate code for a specific Java package.
- Added: SNMP4J-Agent code generation properties
   "useReference" and "reference" to use/override the
   content of a MIB objects REFERENCE clause in code
   generation to support the generation of generic
   instrumentation mappings.
- Added: SNMP4J-Agent 1.2 templates and project generate
   a Modules.java file to easily integrate generated MIB
   modules into an agent.
- Improved: MIB repository verification and auto repair
   when a new MIB repository is selected.


Frank Fock


-- 
AGENT++
http://www.agentpp.com
http://www.mibexplorer.com
http://www.mibdesigner.com




More information about the SNMP4J mailing list