Varbind keywords and descriptions – HP Systems Insight Manager User Manual
Page 122
This keyword has a number of Systems Insight Manager specific commands. These commands are parsed
and executed when a paging or e-mail Automatic Action on Event rule is created and exercised within
Systems Insight Manager. 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 Systems Insight Manager 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 Systems Insight Manager.
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 26-1 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 Systems Insight Manager
$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 Systems Insight Manager 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}
--#SEVERITY CRITICAL
--#TIMEINDEX 99
--#MSG_FORMATTER “$V1V#Computer: # $V3V#Drive Status: # $V9V#Serial Number:
#”
::= 3029
The e-mail or pager output would appear as:
Event Notice ID: 3029
Computer: CRONUS
Drive Status: FAILED
Serial Number: WS7000134715
Event Description: Physical Drive Status Change.
This trap signifies that the agent has detected a change in
122
Compiling and customizing MIBs