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 · 4 comments
Open

告警恢复执行自愈 #2211

lucky0137 opened this issue Oct 10, 2024 · 4 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里没见有这个值

@jackjiali
Copy link

我也遇到这个问题,实在没办法,只能把告警恢复关掉了。希望未来能加个告警恢复触发自愈的开关。 @UlricQin

@UlricQin
Copy link
Member

试试 7.7.1 版本,应该有这个值了 @jackjiali @lucky0137

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

4 participants