Troubleshooting MIB file upload

Troubleshooting MIB file upload issues

Purpose of the MIB browser in Site24x7

A management information base (MIB) browser helps you view the parsed MIB tree of the MIB file. From the MIB tree, you can select any node (or OID) and add it as a performance counter or an SNMP trap on Site24x7. MIB files are not necessary for monitoring the device or for adding performance counters. They are only used to create custom performance counters or SNMP traps easily, from the Site24x7 UI

Uploading MIB files in Site24x7

On-Premise Poller Home in this document refers to the directory in which you have installed the On-Premise Poller. 

Prerequisites

  1. The file has to be in the .mib extension.
  2. The uploaded file has to be less than 1MB. 
  3. The dependency MIBs, if any, must be uploaded to Site24x7 or present in the {On-Premise Poller Home}/NetworkPlus/mibs directory.
  4. The selected On-Premise Poller and its Network Module should be up and running.

How MIB upload works

  1. The selected file will be uploaded to the {On-Premise Poller Home}/NetworkPlus/mibs directory of the  chosen Site24x7 On-Premise Poller.
  2. You can manually upload the files to the {On-Premise Poller Home}/NetworkPlus/mibs directory, if needed
  3. After uploading, you can select it from the Site24x7 MIB Browser. The browser will parse the MIB tree and display it in Site24x7. For this to work, the MIB file must be valid and have all its dependency MIB files present under the same directory ({On-Premise Poller Home}/NetworkPlus/mibs).

Troubleshooting issues while uploading files on the MIB

Here are some problems that you might face while uploading an MIB file on the MIB browser. Find out what you can do to resolve them. 

File size too large 

If the file size is greater than 1MB, it is too large to be uploaded through the MIB browser. You can directly upload the file on the machine with the On-Premise Poller installed. Navigate to the the directory in which you've installed the On-Premse Poller and place the file in the \NetworkPlus\mibs folder. 

Dependency missing  

If you see this error, then you must upload all the dependent MIB files first. Both the dependent MIB files and the loaded MIB file should all be present inside the {On-Premise Poller Home}/NetworkPlus/mibs directory. To identify the dependencies for the selected MIB file, open the MIB file you need to upload and check for dependencies in the IMPORTS section. 

Figure 1. CISCO-ENVMON-MIB file. 
For example, in Figure 1, the highlighted MIB files under the IMPORTS section are the dependency files. These MIB files should be present in the {On-Premise Poller Home}\NetworkPlus\mibs directory.
The dependent MIB files might have their own dependencies, which must also be uploaded.

The On-Premise Poller or Network Module is not running 

Verify that the On-Premise Poller and the Network Module are up and running. 

Error parsing MIB 

The MIB browser is unable to parse the MIB file due to the file being corrupt, invalid, or having incorrect syntax. Please ensure the MIB file is uncorrupted, valid, and syntactically correct.

File format not supported 

The MIB browser supports only files with the extension .mib. Verify that the file you are trying to upload has this extension. 

How to check the MIB files present in the On-Premise Poller installed directory

After selecting the CUSTOM MIBS option on the Site24x7 UI, select the On-Premise Poller. This will fetch the list of all MIB files present in the directory where the selected On-Premise Poller is installed( {Poller Home}\NetworkPlus\mibs), which you can view by clicking the drop-down menu on the MIB field. 

Figure 2. Viewing the MIB files present in an On-Premise Poller installed directory.