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

告警异常 #28

Closed
Chris0408 opened this issue Jun 29, 2020 · 3 comments
Closed

告警异常 #28

Chris0408 opened this issue Jun 29, 2020 · 3 comments
Labels
documentation Improvements or additions to documentation

Comments

@Chris0408
Copy link

在使用过程中发现两个问题,麻烦看下是代码bug,还是我使用过程中配置有误

  1. 采用HOOK邮件方式告警, 当告警项已恢复正常值,web界面也已显示告警已恢复,在prometheus web界面查询此时也是正常值,但是还是会不间断的收到告警邮件,告警信息中value值为第一次触发告警时的值。

  2. HOOK方式获取的告警发生时间和web界面显示的告警发生时间不同

告警规则和告警计划配置见下图
1
2

@jayryu
Copy link
Collaborator

jayryu commented Jun 29, 2020

目前没有遇到过你所描述的情况,请提供详细信息,比如打印出hook所发出的post请求

@jayryu jayryu closed this as completed Jun 29, 2020
@Chris0408
Copy link
Author

经过测试发现是数据库的问题,我使用的是5.7.x版本的数据库,换了5.6.x与你们提供的数据库版本一致后正常了,建议在文档里说明一下数据库版本的问题,避免大家踩坑 : )

@jayryu
Copy link
Collaborator

jayryu commented Jun 30, 2020

经过测试发现是数据库的问题,我使用的是5.7.x版本的数据库,换了5.6.x与你们提供的数据库版本一致后正常了,建议在文档里说明一下数据库版本的问题,避免大家踩坑 : )

感谢反馈

@70data 70data reopened this Jul 4, 2020
@70data 70data added the documentation Improvements or additions to documentation label Jul 4, 2020
@jayryu jayryu closed this as completed Jul 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

3 participants