fix alertmanager
This commit is contained in:
parent
b7eb2dc405
commit
d22605c1d9
1 changed files with 2 additions and 2 deletions
|
@ -17,7 +17,7 @@ alertmanager:
|
||||||
global:
|
global:
|
||||||
resolve_timeout: 5m
|
resolve_timeout: 5m
|
||||||
templates:
|
templates:
|
||||||
- '/etc/alertmanager/configmaps/*.tmpl'
|
- '/etc/alertmanager/configmaps/templates/telegram.tmpl'
|
||||||
route:
|
route:
|
||||||
group_by: ['alertname']
|
group_by: ['alertname']
|
||||||
group_wait: 30s
|
group_wait: 30s
|
||||||
|
@ -34,7 +34,7 @@ alertmanager:
|
||||||
receivers:
|
receivers:
|
||||||
- name: tg1
|
- name: tg1
|
||||||
telegram_configs:
|
telegram_configs:
|
||||||
- bot_token_file: '/etc/alertmanager/secrets/api_key'
|
- bot_token_file: '/etc/alertmanager/secrets/telegram-api/api_key'
|
||||||
chat_id: -995270884
|
chat_id: -995270884
|
||||||
api_url: "https://api.telegram.org"
|
api_url: "https://api.telegram.org"
|
||||||
send_resolved: true
|
send_resolved: true
|
||||||
|
|
Loading…
Reference in a new issue