-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Closed
Description
What did you do?
I don't want it send alert repeatly , so I set "repeat_interval: 99999h", but it will send alert again after 120h.
What did you expect to see?
I want to know whether there is a maximum value of repeat_interval or not.
What did you see instead? Under which circumstances?
Environment
-
System information:
insert output of
uname -srmhere -
Alertmanager version:
v0.15.2
-
Prometheus version:
v2.4.3
-
Alertmanager configuration file:
global:
resolve_timeout: 5m
route:
group_wait: 30s
group_interval: 5m
repeat_interval: '8h'
receiver: 'wechat_platform'
group_by: [alertname, instance]
routes:
- match:
source: platform
receiver: wechat_platform
repeat_interval: 99999h
- match:
source: business
receiver: wechat_business
repeat_interval: 99999h
continue: true
- match:
telephone: true
receiver: webhook
repeat_interval: 99999h
templates:
- '/etc/alertmanager/template/*.tmpl'
receivers:
- name: 'wechat_platform'
wechat_configs:
- send_resolved: false
corp_id: xx
to_party: xx
agent_id: xx
api_secret: xx
message: '{{ template "platform.message" . }}'
- name: 'wechat_business'
wechat_configs:
- send_resolved: false
corp_id: xx
to_party: xx
agent_id: xx
api_secret: xx
message: '{{ template "business.message" . }}'
- name: 'webhook'
webhook_configs:
- send_resolved: false
url: 'xxx'
- Prometheus configuration file:
insert configuration here (if relevant to the issue)
- Logs:
insert Prometheus and Alertmanager logs relevant to the issue here
Reactions are currently unavailable