HP Systems Insight Manager 5.2 Update 2 Technical Reference Guide

Related topic
Managing MIBs
Editing a MIB
The HP MIBs configuration (.cfg) file can be edited with trap specific information, such as:
TYPE
. The type is a simplified form of the actual trap name. Change the type if it does not adequately
describe the device for you.
SEVERITY
. Some vendors use the default INFORMATIONAL for all severity levels. Change the severity
to a level that reflects your judgment of the problem. Alternatively, you can change a Major or Critical
severity for a trap message that is clearly not a critical situation in your environment. Only you know
if this is the case. The only valid options for HP Systems Insight Manager (HP SIM) are: Critical, Major,
Minor, Warning, and Informational.
MSG_FORMATTER
. This message formatting string is used to construct enhanced messages that might
be sent to a pager or in an e-mail. This string can be modified in the REV or the MIB.
ENABLE
. By default all traps are enabled. Trap handling gives you control over the volume of messages.
Disable nuisance messages, such as unnecessary informational messages or repeated trap messages,
for an event that has not been corrected.
DESCRIPTION
. The description is vendor-supplied. Replace it with more specific instructions, a precise
reference source, or a website referral.
CATEGORY
. The category lists the HP SIM category types and UNKNOWN.
To edit the .cfg file:
1. Navigate to the MIB directory:
For Windows operating systems, navigate to \program files\hp\systems insight
manager\mibs.
For Linux or HP-UX operating systems, navigate to /opt/mx/mibs.
2. Run mcompile
mymib.mib
to create the .cfg file.
3. After the .cfg file is created, use an editor of your choice to edit the .cfg file.
To edit trap-specific information in HP SIM:
1. From HP SIM, select OptionsEventsSNMP Trap Settings.
The SNMP Trap Settings page appears.
2. Select the MIB name.
3. Select the trap within the MIB to be edited.
4. Edit the file with your changes, and then click OK to save your changes.
Note: The changes made through the SNMP Trap Settings page are saved to the HP SIM
database
only. The .cfg and MIB files are not affected.
Related procedures
Viewing a MIB
Compiling a MIB
Unregistering a MIB
Related topic
Managing MIBs
Compiling a MIB
The mcompile command enables you to compile an
SNMP
MIB file into an intermediate format (.cfg) file
that can be registered using the mxmib utility for use with HP Systems Insight Manager (HP SIM).
408 Tools that extend management