Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

Compiling SNMP MIBs

Uploading MIBs

To upload a MIB file:

  1. Select Network Monitoring > Admin.

    The Admin page is displayed.

  2. Select SNMP MIB Compiler in the Operations section of the Admin page.
  3. Click Upload MIB.
  4. Browse and upload the MIB file from the appropriate location where the MIB file is stored.

    The MIB file you have uploaded is displayed in the pending node of the MIB tree. You can now view and compile this MIB file.

    Note:

    The filename must be the same as the MIB being processed.

Compiling MIBs

Before you compile a MIB file, ensure that you have uploaded the MIB file. The MIB file should be displayed in the pending node of the MIB tree for you to be able to compile the MIB file.

To compile a MIB file:

  1. Select Network Monitoring > Admin.

    The Admin page is displayed.

  2. Select SNMP MIB Compiler in the Operations section of the Admin page.
  3. From the pending node of MIB tree, right-click the MIB file you want to compile and select Compile MIB.

    You can view the results of the MIB compilation in the MIB Console section of Admin page. If the MIB file is compiled successfully, you will receive a log entry “MIB parsed successfully”. If the MIB file cannot be complied, you will receive an error message.

    If a MIB file is compiled successfully, the MIB file will be moved from the pending node to the compiled node in the MIB tree.

Viewing MIBs

You can view MIB files in the compiled state or in the pending state.

To view a MIB file:

  1. Select Network Monitoring > Admin.

    The Admin page is displayed.

  2. Select SNMP MIB Compiler in the Operations section of the Admin page.
  3. Right-click the MIB file you want to view and select View MIB.

    The View MIB pop-up window displays the MIB file. Use the scroll bar to view the contents of the MIB file.

Deleting MIBs

You can delete MIB files in the compiled state or in the pending state.

To delete a MIB file:

  1. Select Network Monitoring > Admin.

    The Admin page is displayed.

  2. Select SNMP MIB Compiler in the Operations section of the Admin page.
  3. Right-click the MIB file you want to delete and select Delete MIB.
  4. Click Yes.

Clearing MIB Console Logs

MIB console displays the logs related to MIB file upload and MIB file compilation.

To clear the MIB console logs:

  1. Select Network Monitoring > Admin.

    The Admin page is displayed.

  2. Select SNMP MIB Compiler in the Operations section of the Admin page.
  3. Click Clear Log in the MIB console section.

Generating Event Configuration

You can generate event configuration from traps after you have compiled the MIB files.

To generate an event configuration:

  1. Select Network Monitoring > Admin.

    The Admin page is displayed.

  2. Select SNMP MIB Compiler in the Operations section of the Admin page.
  3. From the complied node in the MIB tree, right-click a MIB file and select Generate Events.
  4. In the Generate Events pop-up window, click Continue.

    You can edit the UEI base if needed. The Events window now displays the events that are currently part of the MIB file. You can choose to save this events XML file as is, edit this events XML file, or add new events to this file.

  5. To save the events file as is, click Save Events File.
  6. To add new events:
    1. Click Add Event.

      Enter the new event details.

    2. In the Event UEI field, enter a unique event identifier.

    3. In the Event Label field, enter a label for the new event.

    4. In the Description field, enter a description for the new event.

    5. In the Log Message field, enter a log message for the new event.

    6. From the Destination drop down menu, select an appropriate option.

    7. From the Severity drop down menu, select an appropriate option.

    8. In the Reduction Key field, enter appropriate text.

    9. In the Clear Key field, enter appropriate text.

    10. From the Alarm Type drop down menu, select an appropriate option.

    11. In the Operator Instructions field, enter instructions for the operator if required.

    12. Click Add next to the Mask Elements table to add new element names and element values.

    13. Click Add next to the Mask Varbinds table to add new varbind numbers and varbind values.

    14. Click Add next to the Varbind Decodes table to add new parameter IDs and decode values.

    15. Click Save.

    16. Click Yes.

  7. To edit the current events XML file:
    1. Select the event you want to edit.

    2. Scroll down to the bottom of the window and select Edit.

      You can now edit all the parameters of this event.

  8. After you have added new events or modified the events, click Save Events File.
Note:

Once an event file is saved, reference is added to eventconf.xml and an event configuration reload operation is performed.

Generating a Data Collection Configuration

You can generate a data collection configuration for performance metrics after you have compiled the MIB files.

To generate a data collection configuration:

  1. Select Network Monitoring > Admin.

    The Admin page is displayed.

  2. Select SNMP MIB Compiler in the Operations section of the Admin page.
  3. From the complied node in the MIB tree, right-click a MIB file and select Generate Data Collection.

    The Data Collection window is displayed. You can save the data collection XML file as is or add new resource types, MIB groups, and system definitions to this data collection XML. You can also modify the existing resource types, MIB groups, and system definitions before saving the data collection XML.

  4. In the Data Collection Group Name field, modify the group name if required.
  5. To save the data collection XML as is, click Save Data Collection File.
  6. To add a new resource type to the data collection XML:
    1. Select the Resource Types column in the Data Collection window.

    2. Click Add Resource Type.

      Enter the resource type details.

    3. In the Resource Type Name field, enter a name for the resource.

    4. In the Resource Type Label field, enter a label for the resource.

    5. In the Resource Label field, enter appropriate text.

    6. From the Class Name drop down menu, select the appropriate class name for storage strategy.

    7. Click Add next to the Storage Strategy table to add new parameters.

    8. From the Class Name drop down menu, select the appropriate class name for persist selector strategy.

    9. Click Add next to the Persist Selector Strategy table to add new parameters.

    10. Click Save.

  7. To edit an existing resource type in the data collection XML:
    1. Select the Resource Types column in the Data Collection window.

    2. Select the resource type you want to edit.

    3. Scroll down to the bottom of the window and select Edit.

      You can now edit all the parameters of this resource type.

  8. To add a new MIB group to the data collection XML:
    1. Select the MIB Groups column in the Data Collection window.

    2. Click Add Group.

      Enter the MIB group details.

    3. In the Group Name field, enter a name for the MIB group.

    4. From the ifType Filter drop down menu, select the appropriate option.

    5. Click Add next to the MIB Objects table to add the OID, instance, alias, and type for the MIB objects.

    6. Click Save.

  9. To edit an existing MIB group in the data collection XML:
    1. Select the MIB Groups column in the Data Collection window.

    2. Select the MIB group you want to edit.

    3. Scroll down to the bottom of the window and select Edit.

      You can now edit all the parameters of this MIB group.

  10. To add a new system definition to the data collection XML:
    1. Select the System Definitions column in the Data Collection window.

    2. Click System Definition.

      Enter the system definition details.

    3. In the Group Name field, enter a name for the system definition.

    4. Select the appropriate buttons next to the System OID/Mask field.

    5. Select the MIB group you want to associate this system definition to, and click Add Group.

      The MIB group is displayed in the MIB Groups table.

    6. Click Save.

  11. To edit an existing system definition in the data collection XML:
    1. Select the System Definitions column in the Data Collection window.

    2. Select the system definition you want to edit.

    3. Scroll down to the bottom of the window and select Edit.

      You can now edit all the parameters of this system definition.

Note:

Update the datacollection-config.xml to include the group created into an SNMP collection when you have generated a data collection.