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.
SNMPv2-SMI.mib
SNMPv2-TC.mib
SNMPv2-MIB.mib
RFC1213-MIB.mib
IF-MIB.mib
CISCO-SMI.mib
CISCO-PRODUCTS-MIB.mib
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
- Start the MIB compiler and click the Load button.
- Locate the default
knm.mib file in the KNM\mibs folder of the KNM host machine and double click it. - Check the box Use base MIB when compiling.
- Click the Compile button and select the text MIB files that you want to compile.
- 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.
|