Compiling a MIB

Tivoli Netcool Performance Manager DataMart includes pre-compiled MIB files. You can include additional MIB files by importing them and compiling them into the required Tivoli Netcool Performance Manager DataMart format.

About this task

Compiling a MIB makes Tivoli Netcool Performance Manager aware of the MIB object identifiers and their values. The compile process occurs in three phases, all of which are not apparent to the user:
  • Phase one creates an intermediary frozen MIB format.
  • Phase two creates the OID format required by Tivoli Netcool Performance Manager DataMart.
  • Phase three compiles the MIB, as well as all dependant MIBs.
The results of the compilation are stored in the $PVMHOME/mibs directory in the following subdirectories:
  • frozen
  • oid
  • src
Important: A MIB is compiled only when both the frozen and OID formats exist.

To compile a MIB, follow these steps:

Procedure

  1. On the server where DataMart is installed, enter the following command to open the DataMart application:
    $PVMHONE/bin/pvm &

    The DataMart application appears, as shown in the following figure:

  2. Click Metric > Mib Compiler.
  3. In the display pane, click the MIB directory to select an entire tree or branch, or drill-down to a specific MIB or MIBs that you want to compile.
  4. Optional: If the MIB you want to compile is not in the list displayed in the MIB Compiler, you can copy it to the appropriate directory by selecting Import File... from the File menu.
    1. Go to where the MIB file is located.
    2. Highlight the MIB file name to select it and click Open. The file format for a MIB is typically .mib, asn, or .txt.
      If you want to compile more that one MIB file, do the following:
      • Select a directory name to compile all MIB files in the directory
      • Select several consecutive MIB files by clicking the file name for the first MIB file, then clicking the additional names while holding down the Shift key
      • Select several non-consecutive MIB files by clicking each name while holding down the Ctrl key
    3. Click Yes to continue the import process. The file is copied to the specified directory and the imported MIB appears in the navigation tree of MIB files in the left display pane of the MIB Compiler.
  5. To begin the compilation, click Compile. A progress indicator displays the status of the compilation and a message appear in the Traces pane.
    Note: The Traces pane displays compilation warning messages in blue and error messages in red.