Next Topic

Previous Topic

Book Contents

Compiling custom MIB files

Note: The MIB compiler is a separate download that can be found at http://download.kaseya.com/components/knm/mibsetup/mibsetup.exe This topic assumes you have downloaded and installed the compiler.

In the Kaseya > KNM program group in the start menu you can find the MIB compiler. 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. A number of different RFC documents outline the fundamental base that all other MIB files are based on.

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 that is included in the installation contains the following base OIDs (Object Identifiers).

  • iso.org.dod.internet.directory
  • iso.org.dod.internet.mgmt
  • iso.org.dod.internet.experimental
  • iso.org.dod.internet.private
  • iso.org.dod.internet.security

Compiling a MIB file

Intellipool MIB compiler

  1. Start the MIB compiler and click the Load button.
  2. Locate the default knm.mib file in the KNM\mibs folder of the KNM host machine and double click it.
  3. Check the box Use base MIB when compiling.
  4. Click the Compile button and select the text MIB files that you want to compile.
  5. When the compiler is finished, save the file in the KNM\mibs directory.

It's recommended that you use the browse function to review the compiled MIB before saving it into the KNM\mibs directory.