By default, the open-source OpenDistro alarm plugin (opendistro_alerting) is integrated into CSS to send notifications when data meets specific conditions. This plugin consists of three components: Dashboard, Monitors, and Destinations. CSS integrates the SMN service in the Destinations component and can send alarm messages only through the SMN service as the destination.
This section describes how to use the OpenDistro alarm plugin to configure SMN alarms for Elasticsearch clusters in Kibana.
For details about the official guide of the open-source alarm plug-in Opendistro Alerting, visit OpenDistro-Monitors.
The open-source OpenDistro alarm plugin is installed on Elasticsearch clusters of the versions 7.1.1, 7.6.2, and 7.10.2 by default.
Parameter |
Description |
|---|---|
Name |
User-defined destination name |
Type |
Retain the default value SMN. |
Topic |
Select the SMN topic you have created for sending alarm messages. NOTE:
For the Elasticsearch cluster of version 7.1.1, you need to manually enter the topic name. Ensure that the topic name is the same as that in the SMN service. |


Parameter |
Description |
|---|---|
Monitor name |
User-defined monitor name |
Monitor state |
Monitoring status. You are advised to keep this function enabled. |
Method of definition |
Select a method to define monitoring. You are advised to use Define using extraction query.
|
Index |
Index to be monitored |
Time field |
When Define using visual graph is selected, select a time field and define counting parameters such as count. |
Frequency |
Select the monitoring frequency and set the monitoring interval. The options include:
|
Parameter |
Description |
|---|---|
Trigger name |
User-defined trigger name |
Severity level |
Sensitivity of a trigger, that is, the number of alarms that are triggered before an alarm message is sent. 1 indicates the highest sensitivity. |
Trigger condition |
Trigger condition. An alarm is triggered when the trigger condition is hit. |
Action name |
Name of a trigger action |
Destination |
Select the SMN destination created in section 4. |
Message subject |
Title of the alarm message. This parameter is required only when Elasticsearch clusters of version 7.10.2 is used. |
Message |
Body of an alarm message. By default, the subject and body are defined when the destination is an email. |
Action throttling |
Message sending frequency. It limits the number of notification messages can be received in a specified period. For example, if this parameter is set to 10 minutes, SMN sends only one alarm notification in the next 10 minutes even if the trigger condition is hit for multiple times. After 10 minutes, SMN sends another alarm notification if the alarm condition is met. |

