Alerting configuration

Updating the CMR properties

Please read the general information on updating the CMR properties first on the CMR Configuration page.

The Central Management Repository is able to check whether the collected data is below or above a certain threshold. Based on this, notification e-mails can be send to inform about the threshold violation. 

The alerting works only if the time series database is used for the persisting long term data. See Setup Monitoring and Long-term Data Persistence Configuration pages first.

Enable the Alerting

The alerting feature can be turned on and off in the configuration dialog of the corresponding CMR. To turn it on/off navigate to Alerting and turn on/off the option "Alerting enabled". If this option is "On", the specified alert will be checked (to specified alerts and thresholds, see Setup Alerts and Thresholds for more details). In order to send notification e-mails which inform about a threshold violation, the CMR's Mail settings have to be configured.


Configure the e-Mail Settings

The CMR uses a SMTP server to send e-mails. This requires that a SMTP server is specified in the configuration which can be configured in the Mail section of the configuration dialog. The options are described in more detail below.

Configuration PropertyDescription
SMTP Server HostThe host name or IP of the SMTP server.
SMTP Server PortThe port of the SMTP server.
Username

The username used for authentication on the SMTP server.

PasswordThe password used for authentication on the SMTP server.
From E-Mail AddressThe e-mail address used in the notification e-mail as the sender's address.
From NameThe name used in the notification e-mail as the sender's name.

Customizing Notification e-Mail Templates

The notification e-mails which will be send when an threshold has been violated can be customized. The templates which form the basis for them are located in the CMR's templates directory.

Each template is available as a HTML and textual representation. Furthermore, there are multiple templates which are used in different situations. See the following table for more details.

HTML TemplateText TemplateUsed when..
alert-open.htmlalert-open.txt..an alert is started
alert-bt-open.htmlalert-bt-open.txt..an alert is started which can be related to a business transaction.
alert-closed.htmlalert-closed.txt..an alert has ended.
alert-bt-closed.htmlalert-bt-closed.txt..an alert has ended which can be related to a business transaction.

Placeholders

The template can contain multiple placeholders which are replaced by concrete values. The following table shows available placeholders.

PlaceholderDescriptionAvailable
alert-open
Available
alert-bt-open
Available
alert-closed
Available
alert-bt-closed
{alertDefinitionName}The name of the alert.(tick)(tick)(tick)(tick)
{alertId}The alert-id.(error)(tick)(error)(tick)
{applicationName}The name of the application.(tick)(tick)(tick)(tick)
{businessTxName}The name of the business transaction.(error)(tick)(error)(tick)
{closingReason}The alert's closing reason.(error)(error)(tick)(tick)
{currentTime}The current time.(tick)(tick)(tick)(tick)
{endTime}The time the alert ended.(error)(tick)(error)(tick)
{extremeValue}The lowest/highest violation value.(tick)(tick)(tick)(tick)
{field}The field to check.(tick)(tick)(tick)(tick)
{measurement}The measurement of the database.(tick)(tick)(tick)(tick)
{startTime}The time the alert started.(tick)(tick)(tick)(tick)
{tags}The specified tags to filter the data.(tick)(tick)(tick)(tick)
{threshold}The threshold value.(tick)(tick)(tick)(tick)