Page tree
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Related DocumentationVersion of up.time affectedAffected Platforms
 4.4 or laterAll

 

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.

 

VariableDefinition
$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:
  • OK
  • WARN
  • CRIT
  • MAINT
  • UNKNOWN

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:
  • OK
  • WARN
  • CRIT
  • MAINT
  • UNKNOWN
$TYPE$The type of notification:
  • Problem
  • Recovery
$OUTPUT$The output of the monitor that generated the alert.
  • No labels