Getting Started with the Java Dynamic Management Kit 4.0

SNMP MIB Compiler -- mibgen

The mibgen compiler takes as input a set of SNMP MIBs and generates standard MBeans that implement the MIBs. MIBs can be expressed using SNMP v1 or SNMP v2 syntax.

The mibgen compiler is able to process:

The mibgen compiler also generates the Java source code required for representing a whole MIB in an SNMP manager. Table objects provide methods for adding and removing entries from the table.

When the whole MIB file is registered in the MBean server, all the associated groups are automatically instantiated and added to the MBean server.