HP Systems Insight Manager 7.2 Technical Reference Guide

Registering a MIB in HP SIM
Procedure 283 Registering a MIB in HP SIM
1. Open an MS-DOS window or UNIX shell.
2. Use an editor to create a file containing a list of .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, use mxmib to list the MIBs from HP SIM and to delete or unregister the MIBs, use
mxmib d.
You can also use mxmib -amymib.cfg to register a single MIB.
The .cfg file must be in the default MIBs directory.
NOTE: MxMib requires the .cfg file to reside in the MIBS directory where all the .mib and
.cfg reside by default.
Updating a MIB
Procedure 284 Updating a MIB
1. Download and copy MIBs and matching .cfg files to the mibs directory. The mibs directory
is typically located at c:\program files\hp\systems insight manager\mibs for
Windows and at /opt/mx/mibs for Linux and HP-UX.
If a .cfg file is available and no customizations have been made, proceed to step 2.
2. Run mcompile to create and update .cfg files that exists.
If the old .cfg file had customizations, reapply them.
3. Run mxmib -aupdatedfile.cfg to update the MIB data in the database.
Service trap and service MIB information
HP SIM ships with a version of the service MIB to support service traps sent by Open Service Event
Manager and WEBES. The service MIB is comprised of the cpqservice.mib and
cpqservice.cfg files. To obtain the service MIB separately, see http://h18023.www1.hp.com/
support/svctools/ and select Service MIB Zip file under WEBES or OSEM. The zip file contains the
.mib and .cfg files. Review the readme.txt file contained in the zip file for compatibility
instructions.
Beginning with Open Service Event Manager 1.3.6, you must configure the tool to generate the
new trap type by accessing Internal Settings for Open Service Event Manager: HP SIM trap revision.
WEBES sends the trap by default.
Related information
Unregistering a MIB
HP MIBs can be unregistered using the command line. The CLI is the same for all CMS types to
include Windows, Linux, and HP-UX.
Procedure 285 Unregistering a MIB from HP SIM
1. Open an MS-DOS window or UNIX shell.
2. Run mxmib -d file.mib to unregister the MIB in HP SIM.
Related information
Related procedures
Registering a MIB
Unregistering a MIB
Compiling a MIB
Managing MIBs 407