Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

告警恢复执行自愈 #2211

Open
lucky0137 opened this issue Oct 10, 2024 · 2 comments
Open

告警恢复执行自愈 #2211

lucky0137 opened this issue Oct 10, 2024 · 2 comments

Comments

@lucky0137
Copy link

lucky0137 commented Oct 10, 2024

告警恢复的步奏是否可以不执行自愈脚本,因为服务已经恢复正常了不需要再次执行自愈脚本了

Version

v7.4.1

@710leo
Copy link
Member

710leo commented Oct 12, 2024

目前可以在自愈脚本中加一个逻辑判断,如果告警事件的 is_recovered 为 true,则不做任何操作

@lucky0137
Copy link
Author

目前可以在自愈脚本中加一个逻辑判断,如果告警事件的 is_recovered 为 true,则不做任何操作

stdin里没见有这个值

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants