ICode9

精准搜索请尝试: 精确搜索
首页 > 其他分享> 文章详细

grafana配置重复报警repeat_interval间隔

2021-09-03 14:58:34  阅读:27  来源: 互联网

标签:repeat group 配置 grafana interval 1h


grafana配置报警repeat_interval

alertManager配置

global:
resolve_timeout: 5m

route:
group_by: ['alertname']
group_wait: 10s
group_interval: 10s
repeat_interval: 1h
receiver: 'web.hook'
receivers:
- name: 'web.hook'
webhook_configs:
- url: 'http://ip/ops/alarm?origin=alertManager'
inhibit_rules:
- source_match:
severity: 'critical'
target_match:
severity: 'warning'
equal: ['alertname', 'dev', 'instance']

repeat_interval: 1h
即可做到在告警1h 后继续重复发送报警,这样就会让我们不会漏掉重要告警

但是garafana怎么配置呢?

PR-12145

https://github.com/grafana/grafana/pull/12145

在Notification Channel中的配置Alerting notification reminder即可

例如在grafana-7.3.6版本中

image

标签:repeat,group,配置,grafana,interval,1h
来源: https://blog.csdn.net/qq_37865420/article/details/120081829

专注分享技术,共同学习,共同进步。侵权联系[admin#icode9.com]

Copyright (C)ICode9.com, All Rights Reserved.

ICode9版权所有