beautypg.com

Writing event management macros, 40 event context property set, Writing event – HP StorageWorks 2.32 Edge Switch User Manual

Page 284: Management macros

background image

Reference

284

HA-Fabric Manager User Guide

Writing Event Management Macros

You can write macros for Event Management to add relevant data to the action
phrases. The following actions allow macros:

email

Launch

Log

Message

When you right-click near the cursor in a text area, a menu of the context property
sets displays. Select one of the choices to see a list of the context properties
available. Select one of the properties to insert a bracketed macro at the cursor.

When the trigger fires, the values for the context properties that you selected are
inserted into the text in place of the macro. Write the text in such a way that you
know what the value is since the property name is not inserted along with the
value. Example: “The device labeled ${PROPlabel} has come back online. Its
Node Name is ${PROPnodename}.

Note:

Actions that are triggered by a schedule trigger do not have access to Device

and Event properties since no device is directly involved in triggering the policy.

Table 40: Event Context Property Set

Property

Description

Device Status

Status of the device (online or offline).

Discovery Type

In-band or out-of-band discovery.

Element Type

A device status event or a link status event.

Threshold Type

Performance threshold type (for example, high critical).

Measure Type

Performance measurement units.

Port Number

Port number that encountered an event.

IP Address

IP address of the device that encountered an event.

Source

Label of the device that encountered an event.

Node Name

World-wide name of the device that encountered an event.