Hi, There is a new API available for the SNMP agent development with Java:
SNMP4J-Agent-DB This API is licensed under the Apache 2 license (like SNMP4J and SNMP4J-Agent) and extends the SNMP4J-Agent API by a persistence provider. This provider is able to store MIB data per random access. It uses the Xodus non-relational database from JetBrains. SNMP4J-Agent-DB uses the new interface RandomAccessManagedObject of SNMP4J-Agent 3.0 to be able to serialise the MIB data of those ManagedObjects. MOScalar and DefaultMOTable now implement this new interface. The advantages in short are: * Only changed objects are written again to disk. The default DefaultMOPersistenceProvider needs to save all objects in a sequence. * DB size is smaller - if changes are limited to approximately less than 40% of the MIB objects during runtime. * Agent shutdown is much faster because no objects need to be saved anymore. * No unwanted data loss if agent is killed. Disadvantages are: * Additional dependency to Xodus * Increased overall code size (approximately +3.2MB) You can checkout the new API from here: https://oosnmp.net/dist/snapshot/org/snmp4j/snmp4j-agent-db/3.0-SNAPSHOT/ <https://oosnmp.net/dist/snapshot/org/snmp4j/snmp4j-agent-db/3.0-SNAPSHOT/> Best regards, Frank Fock _______________________________________________ SNMP4J mailing list [email protected] https://oosnmp.net/mailman/listinfo/snmp4j
