其他分享
首页 > 其他分享> > grafana配置重复报警repeat_interval间隔

grafana配置重复报警repeat_interval间隔

作者:互联网

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