This page provides concrete MIB instrumentation sample implementations based on the SNMP4J-AGENT-TUTORIAL-MIB.
With SNMP4J-AgentX's BufferedMOTableModel
, you can easily instrument tables based on a virtual table technology. That means, the table is (usually) never hold in with all its rows in memory. Instead, only those rows are fetched from the underlying data source that are actually needed and requested by the currently running requests on the table.
DefaultMOFactory
in order to be able to create/use your own BufferedMOTableModel
instead of the default table model generated by AgenPro.In the generated Agent.java class file, change the getFactory() method to:
protected MOFactory getFactory() { return new Snmp4jAgentTutorialFactory(); } |
BufferedMOTableModel
or BufferedMOMutableTableModel
. See the attached file for an example.
Related articles appear here based on the labels you select. Click to edit the macro and add or change labels.
|