|Related Documentation\n||Version of up.time \naffected\n||Affected Platforms\n|
|\n\n||4.4 or later\n||All\n|
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.\n \n
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.\n \n
|$DISPLAYNAME$\n\t||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.\n\t
|$DATETIME$\n\t||The date and time at which the alert was generated. This appears in the subject line of the message.\n|
|$SERVICENAME$\n\t||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.\n|
|$SERVICESTATE$\n\t||One of the following:
This appears in the subject line of the message.
|$DATE$\n\t||The date on which the alert was generated.\n|
|$TIME$\n\t||The time at which the alert was generated.\n|
|$HOSTNAME$\n\t||The name of the host for which this alert was generated.\n|
|$HOSTSTATE$\n\t||One of the following:
|$TYPE$\n\t||The type of notification:
|$OUTPUT$\n\t||The output of the monitor that generated the alert.\n|