To provide more information to the recipient of the alert, the variables below are available when creating Auto-Response email, SMS and custom script actions. When the Auto-Response is triggered, each variable name is substituted with information pertaining to the triggered state of the Auto-Response.
For email and SMS actions, you may use these variables in the Send Email/SMS -> Email/SMS Text field. For custom script actions, you may use these variables in the Run Custom Script -> Argument fields.
Variable Name | Description | Example |
$AR_TRIGGER_VAL | The value configured in Check Conditions that triggers this Auto-Response | An Environmental Check with configured trigger value of: 40 |
$AR_PROPERTY | Where available, additional information about the specific property of the port, device or host being checked | A Serial Signal Check with a property of 1, 2 or 3 indicates CTS, DCD or DSR respectively |
$AR_VAL | The value that has currently triggered the Auto-Response (as matched against $AR_TRIGGER_VAL) | An Environmental Check with a current value of: 42 |
$AR_NAME | The configured name of the Auto-Response | Data Center 1 Temperature Alert |
$AR_CHECK_DEV | The human-readable name of the port, device or host being checked | Port 3 |
$AR_DEV_REF | The internal infod name of the port, device or host being checked | config.ports.port3 |
$TIMESTAMP | The date and time at which the Auto-Response has triggered | 2016 Mar 22 14:44:02 |
$HOSTNAME | The hostname of the Opengear device | dc1-im7248 |
$CELLNUM | The incoming phone number that has triggered this Auto-Response (SMS Command check only) | 447555012345 |
Comments
0 comments
Article is closed for comments.