Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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 for a more comprehensive guide refer to Alert Profile and Action Profile Variables.

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.