Versions Compared

Key

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

...

Table of Contents
Image Removed Overview
Image Removed Alert Formats
Image Removed Defining Custom Alert Formats

...

maxLevel2
minLevel2

Uptime Infrastructure Monitor

...

up.time's standard alert format should be well suited for most alerting needs. However, you can modify the alert content by adding or removing variables from one of the three custom alert templates. For more information on the variables, see see Alert Profile and Action Profile Variables and Custom Alert Format Variables

...

and Custom alert format variables.

Alert formats

...

There are three custom alert formats: Image Removed

  • Small Template. Contains the date and time of the alert, as well as the names and status of the service and host for which the alert was generated. This corresponds to the template used for pager alerts, as shown below:
    Code Block
    languagesql
    $SERVICESTATE$ Alert

...

  • 
    $DATETIME$

...

  • 
    Type: $TYPE$

...

  • 
    Service: $SERVICENAME$ ($SERVICESTATE$) 
    Host: $HOSTNAME$ ($HOSTSTATE$)
  • Medium Template

...

  • . Contains the information in the small template, as well as an expanded subject line, the type of notification, and output from the Service Monitor. This corresponds to the template used for email alerts, as shown below:
    Code Block
    languagesql
    up.time Alert - $SERVICENAME$ -> $SERVICESTATE$ 
    Notification type: $TYPE$ $DATETIME$

...

  • 
    Host: $HOSTNAME$ ($HOSTSTATE$)

...

  • 
    Service:$SERVICENAME$

...

  • 
    Service State: $SERVICESTATE$ 
    Output: $OUTPUT$
  • Long Template

...

  • . Contains the information in the medium template, as well as the status of the host, as shown below:
    Code Block
    languagesql
    up.time Alert - $DATETIME$ - $SERVICENAME$ -> $SERVICESTATE$ Date: $DATE$

...

  • 
    Time: $TIME$

...

  • 
    Date & Time: $DATETIME$ 
    Hostname: $HOSTNAME$ 
    Host State: $HOSTSTATE$ 
    Service: $SERVICENAME$

...

  • 
    Service State: $SERVICESTATE$ 
    Notification Type: $TYPE$ 
    Output:

...

  •  $OUTPUT$ 

Defining custom alert formats

...

To define a custom alert format:

  1. Define an alert profile (see the up.time User Guide for more information).
  2. In the Custom Format Options section, click Custom Formats.
    Image Modified
  3. From the dropdown list, select one of the following options: Image Removed
    • Small Template

...

    • Medium Template

...

    • Long Template
  1. Click Fill.

...

  1.  The variables associated with the template appear in the subject and body fields.
  2. Add variables by typing them into the text box.
  3. Remove variables highlighting them and pressing the Delete key on your keyboard.
  4. Optional. You can also add other information to the body of the alert, such as paths to custom scripts or the names of alternative contacts.
  5. Click Save.