APC NBRK0570 Manual Do Utilizador
135
NetBotz Appliance User’s Guide
Alert Macros
Alert macros access attributes particular to the alert being processed at the time the macros are resolved.
The following macros are supported for attributes that support Alert macros:
The following macros are supported for attributes that support Alert macros:
Macro
Definition
Example
${SENSORLUID}
The locally unique ID of the sensor
generating the alert.
generating the alert.
TEMP1
${SENSORGUID}
The globally unique ID of the sensor
generating the alert.
generating the alert.
B000113_TEMP1
${ALERTTYPE}
The type of alert.
HIGHERR
${SENSORTYPE}
The type of sensor generating the alert.
TEMP
${EVENTID}
The unique 16 character identifier shared
by all messages generated as a result of a
single alert notification event. For example,
if an appliance generates an alert
notification when the internal temperature
sensor threshold is exceeded, and generates
a return to normal message when the
temperature drops below the high
threshold, both of these messages will have
the same Event ID number. If the
temperature rises again and a second
threshold exceeded alert is generated, the
second alert has a new Event ID.
by all messages generated as a result of a
single alert notification event. For example,
if an appliance generates an alert
notification when the internal temperature
sensor threshold is exceeded, and generates
a return to normal message when the
temperature drops below the high
threshold, both of these messages will have
the same Event ID number. If the
temperature rises again and a second
threshold exceeded alert is generated, the
second alert has a new Event ID.
3E4512C0FE03440
F
F
${SENSORVAL}
The value reported by the sensor that
is generating the alert.
is generating the alert.
60
${ALERTTIME}
The date and time the alert notification was
generated.
generated.
Apr 1, 2013
13:01:45
13:01:45
${ALERTSEV}
The severity value reported by the sensor
that is generating the alert (such as ERR,
WARN, INFO). If the alert state returned to
normal, the severity value will be followed
by -RTN (for example WARN-RTN).
that is generating the alert (such as ERR,
WARN, INFO). If the alert state returned to
normal, the severity value will be followed
by -RTN (for example WARN-RTN).
ERR, WARN-RTN
${ALERTPOD}
The label of value of the pod that
either contains the sensor that
reported the alert or to which the sensor is
connected.
either contains the sensor that
reported the alert or to which the sensor is
connected.
My Pod
${ALERTPODSERIAL}
The serial number of the pod that
either contains the sensor that
reported the alert or to which the sensor is
connected.
either contains the sensor that
reported the alert or to which the sensor is
connected.
5A0826V0011X
${ALERTPORT}
The label value for the external sensor port
to which the external sensor that reported
the alert is connected.
to which the external sensor that reported
the alert is connected.
Ext1
${SENSORNAME}
The name of the sensor
associated with the alert.
associated with the alert.
Bldg. 3 Door
${ALERT_PROFILE}
The name of the alert profile used to
generate the alert.
generate the alert.
Default, Profile #1