[BUG] <Duplicate alarms exist for deleted monitoring resources>
- Dominant language
- Java
- Stars
- 7.4k
- Forks
- 1.3k
- Avg merge
- 1d 20h
- Merged PRs (30d)
- 32
Description
### Is there an existing issue for this?
- [X] I have searched the existing issues
### Current Behavior
_No response_
### Expected Behavior
_No response_
### Steps To Reproduce
1.新增一个website监控并且配置企业微信告警
2.删除该website监控资源后,企业微信会收到监控不可用的告警,告警内容只会显示监控ID,数据库里面查不到该ID,并且会重复发送,但是实际上已经不需要这个告警了
### Environment
```markdown
HertzBeat version(s):1.6
```
### Debug logs
_No response_
### Anything else?
以下为企业微信告警截图

Contributor guide
Research direction
Start by reproducing the website-monitor creation, Enterprise WeChat alert configuration, and resource deletion flow described in the issue. Trace how deleted monitoring resources are handled when alerts are generated, then verify that a deleted resource no longer produces repeated unavailable alerts or messages containing only an unresolvable monitor ID.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- backend, observability
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Needs clarification
- Newbie friendliness
- 38/100