Alerts¶
Add alert¶
Alerts are based on Grafana. Here only the configuration of the Alerts is explanined. You can find detailed informations about Grafana in the Visualization manual.
Preparation¶
To add an alert, you first need to visit the Visualization page.
Call visualization
The visualization panels are accessed via the rail on the left side.
If you visit this page for the first time, make sure to configure it correctly according to the Visualisation manual.
Note
There are two ways to add an alert
1. Simple alert¶
-
Click on Menu of a Sensor
Sensor menu -
Click on "Edit"
Edit sensor settings -
Click on "+"
Add new alert -
Enter alert condition
- "Evaluation": In this time interval, the condition is checked.
Example: Every 30 seconds, the condition is checked. - "Time Range": In this range, it's checked, if the condition is true.
Example: The avarage value of the last 30 seconds is checked. - "Pending": If you don't like to raise an alarm immediately, you can use it. It keeps the alarm in a pending state for a defined time before raising the alert.
Example: After 60 seconds, the alarm raised. Before, its in pending state. - "When": Here you can select the type of the condition.
Example: average, minimal or maximum value. - "Of": Here you can select the measurement value of the sensor, which is used for the alert.
Example: vibration or contact temperature. - "Is above": You can change it to another type of comparison and set the comparison value.
Example: you can select "is above", "is below" or others and enter a value.
Alert settings
- "Evaluation": In this time interval, the condition is checked.
-
Save alert
After setting the conditions, click on "Save Alert".Alert settings example Success popup -
Alert shows up
When the alert conditions are true, a pending and alerting line will show up. You may need to refresh the graph to see it.Pending and alert in graph
Alert ongoing
2. Complex alert¶
- Click on Menu next to Home
Main dashboard - Click on "Alerting"
Home menu - Click on "Alert rules"
Alerting menu - Click on "New alert rule"
Alert rules - Insert title
Alert rule title
- Insert title
- Configure alert rule query
- Click + sign and select origin::tag
Origin tag - Select the master where the signal is to create the alarm
Choose master - Select the port where the signal is to create the alarm
Select port - Select the signal to create the alarm
Select signal
- Click + sign and select origin::tag
-
Configure the query
- A - Query to apply alarm on
- Click on "Options"
- Select "Time Range" to measure in, then insert desired "From" value, e.g. now-10s
Set time range - B & C - Remove Reduce and Threshold
- Click on delete icon of B Reduce and C Threshold
Remove B & C - Add Classic condition
- Click on Add expression
- Then click on Classic condition
Classic condition - Configure query in Classic condition
Classic condition query - Set as alert condition
- Click on Set as alert condition button
Set as alert condition
- Click on Set as alert condition button
- Verify condition with Preview
- Click on Preview button
Preview
- Click on Preview button
-
Point 3
- Add or select any folder name you want
- Add or select any evaulation group you want, this group decides how often the alert will be checked, e.g. every 10 seconds it checks the query interval for the condition
- Set a "Pending period", this is the time the alarm could be over the threshold, but not alarming right away
Alert
-
(Optional) Link the alert to a widget.
- In point 4, click on button Link dashboard and panel
Alert - Select the widget to link the alert to and confirm
Alert
- In point 4, click on button Link dashboard and panel
-
On the dashboard you can see now the alert within the tile (only if the alert was linked to the widget), and if pending or alerting also in the "Alarms" tile
Please remember that the dashboard needs refresh set to on to see changesAlert ok Alert pending Alert firing