Skip to main content

Alarm Targets

Alarm Targets are the destinations where alarm notifications are sent. They can be configured at runtime through the Alarm Center, or defined as project assets and deployed with your project. The Alarm Center supports two target types:

  • Email — Send alarms via SMTP (Jakarta Mail) or Microsoft 365 (MS 365).
  • Microsoft Teams — Send alarms to Teams chats or channels.

Layout

The tab is split vertically:

  • Left — A table listing all configured targets.
  • Right — The details panel for the selected target, with sub-tabs for Target and Log.

Target table

The table has two columns:

ColumnDescription
TargetThe name of the target.
ActionsA failure icon (red) appears if the target has initialization errors. A remove button appears for the selected target.

Toolbar actions

  • Add Target — Opens a dialog to create a new Email or Teams target.
  • Filter Targets — Quick text filter by target name.
  • Refresh — Reloads the target list from the cluster.

Adding a target

Click the Add Target button and choose a type:

  • Email — Creates an Email target. The default subtype is MS 365, but you can switch to Jakarta (SMTP) in the details panel.
  • Teams — Creates a Microsoft Teams target.

After creation, the new target appears in the list and is automatically selected for editing.

Removing a target

Select the target and click the trash icon in the Actions column. You will be asked to confirm the deletion.

warning

Deleting a target that is referenced by active rules will break those rules. Update or delete the affected rules before removing a target.

Target details panel

When a target is selected, the right panel shows two sub-tabs.

Target tab

The Target tab displays runtime information and editable configuration.

Target header

FieldDescription
StateCurrent operational state, shown as a colored badge (e.g., OK in green).
NameThe target name. This is read-only after creation.
Running on cluster nodeThe node address where the target service is active.
Initialization statusLists any startup failures. If no problems are reported, a green checkmark is shown.

A Restart Target button in the header lets you restart the target service on the cluster. This is useful after changing credentials or network settings.

Alarm Targets tab with an MS 365 Email target selected

Target-specific configuration

Below the header, an editor appears based on the target type.


Email target configuration

Email targets are configured in three sections: Name & Description, Email Settings, and Recipients.

Name & Description

FieldDescription
NameTarget name. Must be unique and can only contain ASCII letters and the characters -_.*$+:@&=,!~';.).
DescriptionOptional free-text description of the target.

Email Settings

Email target type

A dropdown selects the transport mechanism:

OptionDescription
JakartaStandard SMTP delivery via a Jakarta Mail server.
MS 365Delivery through Microsoft 365 using OAuth authentication.

The fields below change depending on the selected type.

Jakarta (SMTP) settings
FieldDescription
UserThe SMTP user (displayed read-only).
HostSMTP server hostname or IP address.
PortSMTP server port. Default is 587.
Connection securityChoose NONE, START_TLS, or SSL/TLS.
Check server identityWhen enabled, the client verifies the server's TLS certificate identity.
CredentialsAuthentication method: None, Password, OAuth, or OAuth (Device code).
MS 365 settings

MS 365 uses OAuth 2.0 for authentication.

FieldDescription
Flow typeNone, OAuth (Client Credentials), OAuth (Authorization code), or OAuth (Device code).
AuthorityThe OAuth authority URL (e.g., https://login.microsoftonline.com/{tenant}).
Client idThe Azure application (client) ID.
ScopesList of OAuth scopes required to send mail (e.g., Mail.Send). Add scopes one by one and press Enter.
Account id(Read-only, after login) The authenticated account identifier.
User(Read-only, after login) The authenticated user principal.
Access token expires on(Read-only) Token validity. If expired, a login prompt appears to re-authenticate.

Recipients (Mails)

An Email target can contain multiple Mail definitions. Each mail is a distinct notification configuration with its own recipient list and template bindings.

The Mail Ops Editor shows a splitter:

  • Left — List of configured mails. Click to select one. You can add or remove mails, and sort the list alphabetically.
  • Right — Editor for the selected mail.

Mail fields

FieldDescription
NameMail configuration name.
DescriptionOptional description.
FromSender email address.
Copy to 'Sent' FolderWhen enabled, a copy of the sent message is saved in the sender's Sent folder (MS 365 only).
ToPrimary recipients. Enter addresses one by one and press Enter.
CCCarbon-copy recipients.
BCCBlind carbon-copy recipients.
Use HTMLEnables HTML formatting for this mail.
Subject TemplateName of a template defined in the Templates tab. Used for the email subject.
Body TemplateName of a template defined in the Templates tab. Used for the email body.

Email target Recipients section showing the Mail Ops Editor

tip

Templates can reference alarm variables. See Templates for the available variables and syntax.


Microsoft Teams target configuration

Teams targets send alarm messages either to group chats or to team channels.

Name & Description

FieldDescription
NameTarget name. Must be unique.
DescriptionOptional description.

Microsoft Teams (OAuth settings)

Like MS 365 Email, Teams targets use OAuth:

FieldDescription
Flow typeNone, OAuth (Client Credentials), OAuth (Authorization code), or OAuth (Device code).
AuthorityThe OAuth authority URL.
Client idThe Azure application ID registered for Teams access.
ScopesRequired scopes (e.g., Chat.Create, ChannelMessage.Send).
Account id(Read-only) Authenticated account.
Access token expires on(Read-only) Token expiry. Re-authenticate if expired.

Teams target OAuth settings showing flow type, authority, client ID, and scopes

Chats

The Chats section lets you define one or more group chats that will receive alarm messages.

FieldDescription
NameChat configuration name.
DescriptionOptional description.
MembersList of member identifiers (emails or user IDs). Press Enter after each entry.
Use HTMLEnables HTML formatting for chat messages.
Body TemplateName of a template defined in the Templates tab. Used for the chat message body.

Teams target Chats section showing SupportChat with members andrew and stefan

Channels

The Channels section lets you define one or more Teams channels.

FieldDescription
NameChannel configuration name.
DescriptionOptional description.
Team Name or IDThe Microsoft Teams team name or its internal ID.
Channel Name or IDThe channel name or its internal ID.
Use HTMLEnables HTML formatting for channel messages.
Body TemplateName of a template defined in the Templates tab. Used for the channel message body.

Teams target Channels section showing SupportChannel with team and channel identifiers


Target log tab

Every target has a Log tab that shows the runtime log of that specific target service. This is helpful for diagnosing:

  • Authentication failures
  • SMTP connection errors
  • Teams API rejections
  • Message delivery issues

Select the target, switch to the Log tab, and inspect the most recent events.