beautypg.com

Snmp trap settings page – HP Systems Insight Manager User Manual

Page 123

background image

the status of an HP Drive Array physical drive. The variable

cpaDaPhyDrvStatus indicates the current physical drive status.

User Action: If the physical drive status is failed(3) or

predictiveFailure(4), replace the drive.

Event Time: 01/09/2003 15:46: PM

Event Notice ID, Event Description and Event Time are inserted by Systems Insight Manager into all event
notifications and that Computer (V1, sysName), Drive Status (V3, cpqDaPhyDrvStatus) and Serial Number
(V9, cpaDaPhySerialNum) are customized to this specific trap.

Using the preceding example and adding the $!

--#MSG_FORMATTER “$! $V1V#System Name: # $V3V#Drive Status: # $V9V#Serial

Number: #”

The e-mail or pager output would be:

System Name: CRONUS

Drive Status: FAILED

Serial Number: WS7000134715

Using the $Hdr keyword in conjunction with $! to further customize the display could be as follows:

--#MSG_FORMATTER “$! $Hdr#The # $V1V#system # $Hdr#had the following #

$V3V#Drive Status:# $Hdr#. The system Serial Number # $V9V#is # $Hdr#.#”

The e-mail or pager output would be:

The system Cronus had the following Drive Status: failed. The system Serial

Number is WS7000134715

IMPORTANT:

For the TYPE, CATEGORY, and MSG_FORMATTER keywords described above, the value

for these keywords must be encapsulated in quotes, such as

xxx for the mxmib to successfully register the

MIB in question. Other keywords such as SEVERITY and ENABLE do not require quoted values.

SNMP Trap Settings page

The SNMP Trap Settings page has the capability to modify the attributes of any trap that has been registered
with the Systems Insight Manager database. The attributes that are available for modification include the
short and long descriptions, severity, category, and the trap enable/disable flag. Use the interface on this
page to first select the registered MIB containing the trap in which you are interested, and then select the
specific trap you wish to modify.

Fields can be modified as follows:

The Description field is the long description stating the nature of the trap. The Description field is
used on the Event detail page and can be included in paging and e-mail notifications. This field
corresponds to the

DESCRIPTION keyword in the CFG files.

The Type field is the short description and is used as the display string when viewing a list of events.
The Type can also be used as part of a paging or e-mail notification. Type fields have been
custom-created for all of the HP ProLiant hardware events. However, for many other MIBs they have
not been customized. Tailoring this field to present a clear message is crucial to presenting meaningful
Event data in Systems Insight Manager. This field corresponds to the

#TYPE keyword in the CFG files.

The Severity field can be set to CRITICAL, MAJOR, MINOR, or INFORMATIONAL. The default is
INFORMATIONAL when no other severity has been set by the base MIB. Many vendors have different
severities specified in their MIBs such as Normal, Warning, Degraded, Broken, etc. These severities
need to be changed in the base MIB or CFG to one that matches Systems Insight Manager. For example,
Degraded can be mapped to Minor or Major, depending on the degradation. Editing the MIB or CFG
and doing a search/replace on the severities is the easiest way to tweak the MIB. This field corresponds
to the

#SEVERITY keyword in the CFG files.

MIB management tools

123