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] #356

Closed amar-mhatre closed 2 years ago

amar-mhatre commented 3 years ago

Describe the bug A Monitor has raised an alert and it is active, if one restarts open-distro, multiple alerts are raised by trigger for same query and keeps generating.

To Reproduce Steps to reproduce the behavior:

  1. Create monitor trigger and action
  2. Once an alert is generated and it is active state restart open-distro service
  3. After restarting one can see same monitor and trigger start generating multiple alerts every time monitor executes as per schedule all alerts are active and can be acknowledge separately.

Expected behavior Even after restarting open-distro should maintain the state of an alerts, like it is maintaining before restarting

Desktop (please complete the following information):

qreshi commented 2 years ago

Closing in favor of https://github.com/opensearch-project/alerting/issues/93