This project has moved and is read-only. For the latest updates, please go here.

KB 600004 How to use #SNMP MIB Compiler


This article describes how to use #SNMP MIB Compiler. #SNMP MIB Compiler compiles MIB documents into .module files.

The MIB documents are typically text files who have no extension, or .mib, or .my. Below are the steps to compile a MIB document,
  1. Open #SNMP MIB Compiler (Compiler.exe).
  2. Open a MIB document, such as TCP-MIB.txt.
  3. Click Compile button on the tool bar.
Note that compiler output is shown in the Output panel.

More Information

What are MIB Documents

You should try to learn about the documents from this Wikipedia article or an SNMP book.

Compiler output files

If the MIB document is compiled successfully, a .module file is generated in the modules folder besides Compiler.exe.

Compiler errors

If the compiler fails to compile a MIB module, no .module file is generated, and you need to read the logs in Output panel to troubleshoot the cause.

Pending modules

If after compiling a MIB document is listed in Module List panel as Pending, it means this MIB document has some dependencies that are not yet compiled by the compiler. You need to open those dependencies and compile them before compiling this document.

The .Module File Format

This is a simple format used by #SNMP.

The first line starts with '#' and lists all dependencies.

From the second line on, every line contains one particular SNMP object. The properties of the object are stored as comma separated data.

This format is subject to change in the near future as we are going to support more information on each objects.

#SNMP MIB Browser only accepts .module files generated by #SNMP MIB Compiler.



Last edited Feb 22, 2011 at 2:36 AM by lextm, version 4