articleWorking with Custom Alert Formats

Related Documentation Version of up.time affected Affected Platforms
Custom Alert Format Variables 4.4 or newer All

Article Contents

Overview

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 Custom Alert Format Variables.

Alert Formats

There are three custom alert formats:

  • 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:

    $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:

    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:

    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.

  3. From the dropdown list, select one of the following options:
    • Small Template
    • Medium Template
    • Long Template
  4. Click Fill.
  5. The variables associated with the template appear in the subject and body fields.

    Add variables by typing them into the text box. Remove variables highlighting them and pressing the Delete key on your keyboard.

    You can also add other information to the body of the alert, such as paths to custom scripts or the names of alternative contacts.

  6. Click Save.

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

  11435

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

  2749

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

  1829

Custom Alert Format Variables

RatingViews
article

This article explains the variables that you can use to create a custom alert format.

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

  4725

Test Service Instance doesn't trigger action or alert profile

RatingViews
article

The Test Service Instance feature does not trigger action and alert profiles associated with the monitor by design.

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

  2392

User Comments



No comments have been posted.

Copyright © 2021 IDERA, Inc.   Legal   Privacy Statement