apache / hertzbeat

Apache HertzBeat(incubating) is a real-time monitoring system with agentless, performance cluster, prometheus-compatible, custom monitoring and status page building capabilities.
https://hertzbeat.apache.org/
Apache License 2.0
5.45k stars 947 forks source link

[BUG] <Duplicate alarms exist for deleted monitoring resources> #2402

Open PollosD opened 1 month ago

PollosD commented 1 month ago

Is there an existing issue for this?

Current Behavior

No response

Expected Behavior

No response

Steps To Reproduce

1.新增一个website监控并且配置企业微信告警 2.删除该website监控资源后,企业微信会收到监控不可用的告警,告警内容只会显示监控ID,数据库里面查不到该ID,并且会重复发送,但是实际上已经不需要这个告警了

Environment

HertzBeat version(s):1.6

Debug logs

No response

Anything else?

以下为企业微信告警截图 image

tomsun28 commented 1 month ago

Maybe it is a bug, i guess due the monitoring info is deleted, but the metrics collection task is still being executed.