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:
Macro | Definition | Example |
|
|
|
${SENSORLUID} | The locally unique ID of the sensor | TEMP1 |
| generating the alert. |
|
${SENSORGUID} | The globally unique ID of the sensor | B000113_TEMP1 |
| generating the alert. |
|
${ALERTTYPE} | The type of alert. | HIGHERR |
${SENSORTYPE} | The type of sensor generating the alert. | TEMP |
${EVENTID} | The unique 16 character identifier shared | 3E4512C0FE03440 |
| by all messages generated as a result of a | F |
| 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. |
|
${SENSORVAL} | The value reported by the sensor that | 60 |
| is generating the alert. |
|
${ALERTTIME} | The date and time the alert notification was | Apr 1, 2013 |
| generated. | 13:01:45 |
${ALERTSEV} | The severity value reported by the sensor | ERR, |
| that is generating the alert (such as ERR, |
|
| WARN, INFO). If the alert state returned to |
|
| normal, the severity value will be followed |
|
| by |
|
${ALERTPOD} | The label of value of the pod that | My Pod |
| either contains the sensor that |
|
| reported the alert or to which the sensor is |
|
| connected. |
|
${ALERTPODSERIAL} | The serial number of the pod that | 5A0826V0011X |
| either contains the sensor that |
|
| reported the alert or to which the sensor is |
|
| connected. |
|
${ALERTPORT} | The label value for the external sensor port | Ext1 |
| to which the external sensor that reported |
|
| the alert is connected. |
|
${SENSORNAME} | The name of the sensor | Bldg. 3 Door |
| associated with the alert. |
|
${ALERT_PROFILE} | The name of the alert profile used to | Default, Profile #1 |
| generate the alert. |
|
NetBotz Appliance User’s Guide | 135 |