Previous page

Next page

Locate page in Contents

Print this page

mailer

Purpose:

The mail template configuration management interface.

Mail templates are used to build mail messages that are sent to the alert subscribers. The mailer interface provides functionality that allows you to create your own mail templates. Typically, a resource allocation alert consists of the description of a problem, the type of the alert, the ID of the server that was affected, and the data related to the alert source. All this information can be included in a mail template using variables. You construct a template as a free-form text message and include the predefined variables in it where needed. The following is an example of a mail template:

You received this message as a subscriber of Virtuozzo alert services. Message: $TYPE $ID alert on Container $TITLE Current value: $CUR Soft limit: $SOFT Hard limit: $HARD

The variables (identified by the dollar sign in front of their names) will be substituted with the actual values at the time the message is generated. The following is a sample message that was composed using the template above:

You received this message as a subscriber of Virtuozzo alert services. Message: red physpages alert on Container VC-101 Current value: 2147481270 Soft limit: 0 Hard limit: 2147483647

The following table describes the variables that you can use in your mail templates.

Variable

Description

$TITLE

Virtuozzo Container title.

$TIME

Time of the alert occurrence.

$ID

The name of a quota, ubc parameter, or service.

$TYPE

The alert type:

green, red, yellow, black for ubc or quota alerts.

running, stopped for service alerts.

$CUR

Current value (ubc or quota alerts).

$SOFT

Soft limit (ubc or quota alerts).

$HARD

Hard limit (ubc or quota alerts).

In This Section

Types

Calls

Please send us your feedback on this help page