HP

HP Systems Insight Manager Technical Reference Guide

English
  Tools that Extend Management  |  Managing MIBs  |  Registering a MIB   

Registering a MIB

»Table of Contents
»Index
»Notices
»Introduction
»Product Overview
»Getting Started
»Discovery and Identification
»Users and Authorizations
»Networking and Security
»Monitoring Systems, Clusters, and Events
»Storage Integration
»Managing with Tasks
»Tools that Extend Management
»Cluster Monitor
»Command Line Tools
»Creating New Command Line Tools
»Custom Commands
»Configuring DMI Access
»Configuring SNMP Access
»Device Ping
»Disk Thresholds
»License Manager
»Management Processor Tools
»Managing MIBs
»Viewing a MIB
»Editing a MIB
»Compiling a MIB
Registering a MIB
»Unregistering a MIB
»Installing OpenSSH
»PMP Tools
»Removing and Restoring Tools
»Replicate Agent Settings
»RPM Package Manager
»Server Migration Pack
»System Management Homepage
»System Page
»Version Control
»Virtual Machine Management Pack
»WBEM Based Tools
»Available MSA Tools
»Partner Applications
»Reporting
»Administering Systems and Events
»Troubleshooting
»Reference Information
»Printable version
»Glossary
»Using Help
» Related Procedures
» Related Topics

HP Systems Insight Manager (HP SIM) ships with HP MIBs that are registered at installation. In addition, a number of pre-compiled MIBs are included in the form of .cfg files. These MIBs can be registered at your convenience. A number of those .cfg files have been edited. If the corresponding MIB is recompiled, then those edits are lost.

To view a list of currently registered MIBs, including MIBs that you have registered:

  • In Windows, enter dir "c:\program files\hp\systems insight manager\MIBs\ *.MIB" at the command line.

  • On UNIX, enter ls /opt/mx/mibs/*.mib at the command line.

To view MIBs that are preloaded and registered during HP SIM installation:

  • In Windows, enter type "c:\program files\hp\systems insight manager\MIBs\ cfglist?.list" at the command line.

  • On UNIX, enter cat /opt/mx/mibs/cfglist*.list at the command line.

These are the install directories. If you changed the install directory during the HP SIM installation, these commands must reference your path instead.

HP MIBs can be registered using the command line interface (CLI). The CLI is the same for all CMS types including Windows, Linux, and HP-UX.

When registering a MIB, it is not always necessary to run mcompile on the MIB especially if the corresponding .cfg file to that MIB already exists. If you run mcompile on a MIB and a .cfg file exists, a new .cfg is generated, which supersedes the old .cfg file and any changes in the old file will not be active. In most cases with an existing .cfg file, it is desirable to edit the .cfg file to make changes unless a new MIB has been furnished.

This .cfg file can then be registered to the HP SIM database using the mxmib -a or mxmib -f command.

To register a MIB in HP SIM:

  1. Open an MS-DOS window or UNIX shell.

  2. Use an editor of your choice to create a file containing a list of the .cfg files to be registered. One .cfg per line.

  3. Run mxmib -f cfglist.list to import a list of MIBs into HP SIM. After the MIB is registered in HP SIM, you can use mxmib to list or delete the MIB from HP SIM.

    Note: You can also use mxmib -a mymib.cfg to register a single MIB.

    Note: The .cfg file being registered must be in the MIBs directory.

To update a MIB:

  1. Download and copy MIBs to the mibs directory.

  2. Run mcompile to create and update any .cfg file that exists.

    Note: If the old .cfg file had any customizations, these must be reapplied.

  3. Run mxmib -a updatedfile.cfg to update the MIB data in the database.

Related Procedures

» Managing MIBs - Viewing a MIB
» Managing MIBs - Compiling a MIB
» Managing MIBs - Unregistering a MIB
» Managing MIBs - Editing a MIB

Related Topics

» Tools that Extend Management - Managing MIBs
» Events - Service Notification Events