beautypg.com

Writing event management macros, Table 43 event context properties, 43 event context properties – HP StorageWorks 2.32 Edge Switch User Manual

Page 246

background image

Reference

246

Writing Event Management macros

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

following actions allow macros:

E-mail

Launch

Log

Message

When you right-click near the cursor in a text area, a menu of the context property sets appears.

Select one of the choices to see a list of the available context properties. 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 43

describes event context properties.

Trap Forwarding Off

Specifies whether trap forwarding is enabled

Region

Region of the world where the user is located

Time Zone

User’s time zone

User Count

Number of users

Table 42

Device state system properties (continued)

Property

Description

Table 43

Event context properties

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