HP Systems Insight Manager User Manual

Page 162

Advertising
background image

SYSTEM AND ENVIRONMENTAL

Tandem EMS Events

TruCluster Events

Unassigned

Unisys Configuration Agent Events

UNKNOWN

WYSE Events

ZESA

ZHRM

--#MSG_FORMATTER

This keyword has a number of HP SIM specific commands. These commands are parsed and
executed when a paging or e-mail Automatic Action on Event rule is created and exercised within
HP SIM. You might view these commands as a paging or e-mail command language. The general
layout of each command contains an operand and descriptive text associated with the operand.
The descriptive text must be delimited by a # pair. If the parser within HP SIM does not recognize
a command, it will disregard that command without providing any additional feedback.

IMPORTANT:

Changing the MSG_FORMATTER string is only recommended for extremely

advanced users. Always back up any files that are modified so that they can easily be restored.
Also, for HP ProLiant traps, HP has already generated intelligent messages that are registered by
default with HP SIM.

Referring to the following tables, the V keyword represents varbind information specific to individual
traps. Numerically, all V definitions match the varbinds as they appear in the trap.

Table 19 Varbind keywords and descriptions

Comments

Description

Keyword

Label will reflect the value selected. This
will vary on a trap-to-trap basis.

Includes value for varbind and
descriptive text (in this case, Some
text#
)

$VnV#Some text#

Label will reflect the valve selected. This
will vary on a trap-to-trap basis.

Includes the varbind description that
is only available within HP SIM

$VnD#Some text#

Text that could be added to add clarity
to output data. Used to form varbind
data into text sentences.

Used to add text or formatting to
headers

$Hdr#Some text#

Also, if the beginning keyword in the trap definition file is a $!, that tells the HP SIM parser to
disregard the global settings and to use only the trap definition file keywords. See example below.

cpqDa5PhyDrvStatusChange TRAP-TYPE
ENTERPRISE compaq
VARIABLES { sysName, cpqHoTrapFlags, cpqDaPhyDrvStatus,
cpqDaPhyDrvCntlrIndex, cpqDaPhyDrvBusNumber,
cpqDaPhyDrvBay, cpqDaPhyDrvModel, cpqDaPhyDrvFWRev,
cpqDaPhyDrvSerialNum, cpqDaPhyDrvFailureCode }
DESCRIPTION "Physical Drive Status Change. This trap signifies
that the agent has detected a change in 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."  

--#TYPE "Physical Drive Status Change"  
--#SUMMARY "Physical Drive Status is now %d."  
--#ARGUMENTS {2}

162

Compiling and customizing MIBs

Advertising