Notifications
AME Notifications alert users or external systems about new events or event changes in Alert Manager Enterprise (AME).
Notification Schemes specify the criteria for triggering notifications and the target channels they are sent to.
The Notifications UI is shown below:
Managing Notifications
See Role Overview for permissions required to manage notifications.
Use these buttons to manage notifications:
| Button | Function |
|---|---|
Add Notification Scheme | |
Clone Notification Scheme | |
Save Notification Scheme | |
Edit Custom Tag | |
Add Flow | |
Add Notification Target | |
Add Template Target |
Filter by notification name using the search field or by Notification Scheme using the dropdown.
Only admins or users with the ame.admin role can access this page and its features.
Setting Up a Notification Scheme
To create a notification scheme for all AME-managed events:
- Click
Add Notification Schemeat the bottom of the list to open a modal:
- Assign a unique name to the notification scheme.
- Click
Add Flow. - Give the flow a unique name.
- Select a trigger.
- Add a trigger condition (requires subscription).
- Configure a notification target and notification template for the flow:
Triggers
Available notification triggers include:
- Event created
- Event updated
- Event assigned
- Event appended
- Event commented
- Event deleted
- Bulk update
- Bulk delete
- Bulk comment
- Rule matched
- Event violated SLA
- Event fulfilled SLA
- SLA Violation Imminent
Trigger Conditions
Trigger conditions function similarly to rules:
For these triggers, event changes can serve as notification conditions:
- Event updated
- Rule matched
- Bulk update
Available fields for trigger conditions on source:
| Field | Type | Description | Examples |
|---|---|---|---|
| changes | String | Fields that changed | status_name, assignee |
| values | String | Values that changed | new, admin |
| keyword | String | Keyword set in a rule | rule_number_one |
Example:
Let's assume we want to notify only on status updates for in_progress and resolved statuses. In pseudo code the condition looks
like this:
(changed contains “ame.status_name” ) AND (values contains “resolved” OR values contains “in_progress")
Note that we use contains as changes and values are lists. Using the UI it looks like this:
The available fields can be shown by clicking on the Trigger Condition Scheme button.
Limitations for Community Edition
Following Trigger Conditions are available for the Community Edition:
| Trigger | Conditions |
|---|---|
| Event created | none |
| Event assigned | none |
| Event updated | ame.status_name |
| Event appended | ame.status_name |
| BulkUpdate | ame.status_name |
Update and delete a notification scheme
To update a notification scheme, revise the information and press the Save button. To delete a notification scheme,
press the Delete button button.
Notification Targets
The Notification Target tab is used to configure where notifications are sent to.
Currently, AME Supports the following targets:
- Slack
- Webhook
- MS Teams
- Alert Action
The Mail target is already preconfigured. Additional targets can be added by pressing the Add Notification Target button.
A modal will be opened.
Depending on the target, different configuration options are available. For some targets, a Squash Updates selector is available.
Enabling this option will combine multiple notifications into one notification.
Mail
Mail sends an email to the recipients, as well as the cc and bcc entries. You can choose a user name from the dropdown or enter
a valid email address by hand.
The keyword assignee will translate into the assignee's email if it is available to Splunk.
Slack
Slack sends a Slack message to Slack. The channel supports Slack App notifications. Enter the URL and if messages should be squashed.
Webhook
Webhook will send a POST request to a specified URL. Additionally, Headers can be configured.
To create an Incoming Webhook, follow this guide from Slack: Sending messages using incoming webhooks