article Custom Alert Format Variables

Related Documentation Version of up.time affected Affected Platforms
4.4 or later All

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.

Variable Definition
$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.

Related Articles


Creating Custom Alert Scripts in up.time Alert Profiles

RatingViews
article

By: uptime Support | Date Created: 5-17-2006 | Last Modified: 8-9-2011 | Index: 065

  11430

Working with Custom Alert Formats

RatingViews
article

This article explains how to build custom alert formats within the up.time Web interface.

By: uptime Support | Date Created: 2-6-2007 | Last Modified: 6-30-2011 | Index: 139

  4456

Playing a custom sound during an alert

RatingViews
article

up.time is not able to natively play a sound on the monitoring station or a target PC to indicate a service outage. Through a combination of custom scripts and the Script Alert option in an alert...

By: uptime Support | Date Created: 12-31-1969 | Last Modified: 8-10-2011 | Index: 303

  2745

How many characters are supported in a custom alert?

RatingViews
article

Both the subject and body are capped at 255 characters.

By: uptime Support | Date Created: 6-11-2010 | Last Modified: 12-3-2011 | Index: 448

  1827

How do I save a graph or report in Excel or .csv format?

RatingViews
article

up.time graphs in Internet Explorer can be saved directly to Excel or csv using the 'Export Chart' -> 'Data' option. up.time reports cannot be saved directly to Excel or csv format. The up.time...

By: uptime Support | Date Created: 12-31-1969 | Last Modified: 8-10-2011 | Index: 264

  5479

User Comments



No comments have been posted.

Copyright © 2021 IDERA, Inc.   Legal   Privacy Statement