Create MIB Specification with MIB Designer

Last modified by Frank Fock on 2024/05/25 11:17

Install MIB Designer

  1. Install (run) MIB Designer using Java WebStart if supported by your system from here. Alternatively run java -jar mibdesigner.jar on the command line. 

Create new New MIB Module

  1. Click Yes if asked if you want to create a new MIB module using the New MIB Wizard or alternatively choose File>New.
  2. Specify the object name prefix and the MIB module name for the new MIB module:
    https://doc.snmp.app/download/attachments/11993093/sc_tutorial_mds_new-mib-wizard_01.png?version=1&modificationDate=1459298282442&api=v2
  3. Specify the root OID in wizard step 2 (here you will have to choose your own values):
    https://doc.snmp.app/download/attachments/11993093/sc_tutorial_mds_new-mib-wizard_02.png?version=1&modificationDate=1459298282456&api=v2
  4. Specify that a basic object structure should be created:
    https://doc.snmp.app/download/attachments/11993093/sc_tutorial_mds_new-mib-wizard_03.png?version=1&modificationDate=1459298282469&api=v2
  5. Edit the MIB module node. It is the top-most node that does not have a folder icon. Add organization, contact-info, and description. Do not add REVISION information now, because that would already release the module.
  6. Create your MIB objects. Typically you define the structure of your MIB module with OBECT-IDENTIFIER and the content with OBJECT-tYPE instances:
    https://doc.snmp.app/download/attachments/11993093/sc_tutorial_mds_add-object-type.png?version=1&modificationDate=1459298282321&api=v2
  7. Once you added your objects, you need to reference them to object groups in the conformance section of your MIB module:
    https://doc.snmp.app/download/attachments/11993093/sc_tutorial_mds_add-objects-to-group.png?version=1&modificationDate=1459298282428&api=v2
  8. Check your MIB module with View>Check (not necessary if auto-check is enabled) and remove any errors.
  9. Release the MIB module by adding a new REVISION entry in the MIB module node:
    https://doc.snmp.app/download/attachments/11993093/sc_tutorial_mds_release-mib-module.png?version=1&modificationDate=1459298282484&api=v2
  10. Check again the MIB module with View>Check (not necessary if auto-check is enabled) and remove any errors.
  11. Save the new MIB module with File>Save.
  12. Export the new MIB module as text file (backup and for usage with non-AGENT++ tools) with File>Export MIB as.