opendistro-for-elasticsearch / alerting

📟 Open Distro Alerting Plugin
https://opendistro.github.io/for-elasticsearch/features/alerting.html
Apache License 2.0
279 stars 80 forks source link

[BUG] Kibana alerting not working properly #401

Open dutingda opened 2 years ago

dutingda commented 2 years ago

Describe the bug

The trigger do not show alerts even though it returns true. Note that I also have a previous monitor I created with one alert being acknowledged. I setup the daily scheduled alerts but only get that one alert, after I acknowledged it it has never alerted me again. So I deleted it and create a new one as below. But it did not alert me at all. So my question is after I acked it, I will never receive any trigger again and I had to delete it and recreate it, also the alerts only happen during the scheduled time?

Expected behavior Alerting

Screenshots

Screen Shot 2022-02-03 at 2 43 15 PM Screen Shot 2022-02-03 at 2 43 31 PM

Additional context Elastic/Kibana 7.10.2

qreshi commented 2 years ago

Hey @dutingda,

If you've acknowledged an alert, it will no longer execute actions for that trigger. The only time it would notify you again was if the trigger condition was no longer met (i.e the alert moves into COMPLETED state) and then happened again (i.e new alert in ACTIVE state).

And since your Monitor is running once a day at 9AM you might see these changes slowly.