When up.time sends an alert, it uses a specific template for the subject line and body of the alert. While this standard alert format is well suited for most alerting needs, you can modify the content of the alert by adding or removing variables from one of the three custom alert templates.
The variables are the building blocks of a custom alert format and can be added or removed to suit your needs. The table below explains the variables used in a custom alert format.
|$DISPLAYNAME$||The name of the entity as it appears in the up.time Web interface.|
A system can have a different display name than the hostname. For example, you can assign the display name Toronto Mail Server to a system with the host name 10.1.1.6.
|$DATETIME$||The date and time at which the alert was generated. This appears in the subject line of the message.|
|$SERVICENAME$||The name of the service, along with the name of the host for which the alert has been generated. This appears in the subject line of the message.|
|$SERVICESTATE$||One of the following:|
This appears in the subject line of the message.
|$DATE$||The date on which the alert was generated.|
|$TIME$||The time at which the alert was generated.|
|$HOSTNAME$||The name of the host for which this alert was generated.|
|$HOSTSTATE$||One of the following:|
|$TYPE$||The type of notification:|
|$OUTPUT$||The output of the monitor that generated the alert.|