Skip to end of banner
Go to start of banner

Alerting configuration

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »

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.

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.

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}
(tick)(tick)(tick)(tick)
{alertId}
(error)(tick)(error)(tick)
{applicationName}
(tick)(tick)(tick)(tick)
{businessTxName}
(error)(tick)(error)(tick)
{closingReason}
(error)(error)(tick)(tick)
{currentTime}
(tick)(tick)(tick)(tick)
{endTime}
(error)(tick)(error)(tick)
{extremeValue}
(tick)(tick)(tick)(tick)
{field}
(tick)(tick)(tick)(tick)
{measurement}
(tick)(tick)(tick)(tick)
{startTime}
(tick)(tick)(tick)(tick)
{tags}
(tick)(tick)(tick)(tick)
{threshold}
(tick)(tick)(tick)(tick)





  • No labels