Loading updated MIB information

To ensure that the MIB browser reflects the most up-to-date MIB information, load updated MIB information by running the ncp_mib command-line application.

About this task

You need to run the ncp_mib command-line application only when new MIBs are added to the NCHOME/precision/mibs directory. It is run once during installation, so if you do not add new MIBs, you do not need run it again.

Important: All MIBs must be valid in order to be parsed correctly. The ncp_mib command is case-sensitive and expects a suffix of .mib (not .MIB). The prefix can be a combination of upper or lower case.

When run, ncp_mib populates the ncmib schema in the NCIM database to provide a central store of all MIB information that Network Manager can query. The ncmib schema within the NCIM database is defined in NCHOME/etc/precision/MibDbLogin.cfg; the default value is MIB.

There is only one MIB database for all domains. The -domain option, if specified, configures ncp_mib to use a domain-specific MibDbLogin.domain.cfg file. If no -domain option is specified, the generic MibDbLogin.cfg file is used. There are no process dependencies for this command.

In a distributed installation, ncp_mib is installed on the ITNM core server, that is, on the same server as the Network Manager core components installed.

If your MIB database gets corrupted or if you want to import a new MIB that conflicts with one that was imported previously, note the various command-line options by running ncp_mib -help.
Tip: If you are uncertain what the result will be of running ncp_mib, run it with the -dryrun option. You can see the results, but the database will not be altered.

To update the MIB information, complete the following steps on the server where the Network Manager core components are installed.

Procedure

  1. Copy any new MIB files to the NCHOME/precision/mibs directory.
  2. Ensure that the database login credentials are correct.

    The only configuration parameters required for the ncp_mib command-line application are the database login credentials for the ncim database. These are stored in a configuration file, NCHOME/etc/precision/MibDbLogin.cfg. Note that because ncp_mib is domain-independent, this file does not have domain-specific variants as other configuration files do.

  3. Start the ncp_mib process by issuing the ncp_mib command.

What to do next

To verify that a MIB has successfully loaded, query the database table ncmib.mib_modules by entering the following command from the NCIM database prompt (this example assumes that NCIM is running on Db2®):
 select * from ncmib.mib_modules where moduleName ='RFC1213-MIB';
If the MIB loaded, a table is displayed containing a moduleName of RFC1213-MIB.
You can also verify that MIBs are loaded by running the ncp_mib command with the -messagelevel info option. A message similar to the following informs you that the MIBs are being processed:
09/10/08 12:41:08: Information: I-MIB-001-013: [1096571552t] Resolving references for module 'RFC1213-MIB'
When processing completes, a message states that the MIBs have been committed to the database.