Administer > Extend NNMi Capabilities > Managing MIBs > Load MIBs > Load MIBs from the Command Line

Load MIBs from the Command Line

To load additional MIBs from the command line, use the nnmloadmib.ovpl command.

Note You can also use the nnmloadmib.ovpl command with the -list option to view the list of MIBs currently stored in the NNMi database.

To enable NNMi's use of a MIB file from the command line:

  1. Locate the MIB fileManagement Information Base files are the basic building block of SNMP communication protocol. SNMP Agents are configured to respond to requests defined by a group of supported MIB files. (source text file) you want to use.

    Note You can use the device vendor's website to locate the MIBs available for your devices.

  2. Copy the MIB file to the location of your choice. In the example used in the next step, the MIB file is copied to a /temp directory.
  3. Use the nnmloadmib.ovpl command to load the MIB on the NNMi management server.

    For example, to load the HOST-RESOURCES-MIB that was copied to the /temp directory, you would enter a command similar to the following:

    If you do not want to enter an NNMi User Name attribute value and an NNMi Password attribute value at the command line, you can use the nnmsetcmduserpw.ovpl command to specify the valid user name and password (instead of -u and -p). The credentials set using the nnmsetcmduserpw.ovpl command are valid for command execution by the same user.

    nnmloadmib.ovpl -u <NNMiadminUsername> -p <NNMiadminPassword> -load /temp/HostResources.mib

To unload a MIB, see Unload MIBs or use the nnmloadmib.ovpl command.

Tip If you are using MIBs to create MIB Expressions for Custom Poller, also see Enable or Disable Custom Poller and Create a Custom Poller Collection. If you are using MIBs to create Graphs, see Configure SNMP Line Graph Actions.