Next Topic

Previous Topic

Book Contents

Compiling Custom MIB Files

By using the MIB compiler you can compile text MIB files into a binary format that Network Monitor can read. Compiling MIB files requires understanding about how MIB files work as well as a general understanding of SNMP and MIB objects. A number of different RFC documents outline the fundamental base that all other MIB files are based on.

Note: The community name, SNMP version, and port used used by Network Monitor to connect to an SNMP asset is set on the Authentication tab of an asset node. The asset node may inherit this setting from a parent node. See the Installation Checklist.

As an example, this is the compile order of a CISCO ® product MIB.

  1. SNMPv2-SMI.mib
  2. SNMPv2-TC.mib
  3. SNMPv2-MIB.mib
  4. RFC1213-MIB.mib
  5. IF-MIB.mib
  6. CISCO-SMI.mib
  7. CISCO-PRODUCTS-MIB.mib
  8. CISCO-TC.mib

The first 5 files in this example are common for most product MIB files, and are included in the default knm.mib binary MIB file.

Warning: All of these files must be compiled at the same time, otherwise the MIB compiler fails due to unresolved symbols.

Contents of the default KNM MIB file

The default knm.mib file included in the installation contains the following base OIDs (object identifiers).

The file is located in the \<Kaseya_Installation_Directory>\KNM\mibs directory.

Download and Run the MIB Compiler

  1. Navigate to the Network Monitor > Tools > Utility downloads page.
  2. Click the MIB compiler link to download the utility to your local machine.
  3. Run the utility.

Compiling a MIB file

Word 60% / HTML 100%

  1. Start the <Kaseya_Installation_Directory>\knm\mibcompiler.exe.
  2. Click the Browse button to select one or more *.mib files.
  3. Click the Compile button.
  4. Specify where where you want to save the compiled *.dat file.
  5. Click the Browse button to select the *.dat file that was just compiled. An interactive MIB tree displays in the main window. You can use it to navigate through the different OIDs.
  6. Move or copy the compiled *.dat file to the KNM\mibs folder.