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:
|
||||
resolve_timeout: 5m
|
||||
templates:
|
||||
- '/etc/alertmanager/configmaps/*.tmpl'
|
||||
- '/etc/alertmanager/configmaps/templates/telegram.tmpl'
|
||||
route:
|
||||
group_by: ['alertname']
|
||||
group_wait: 30s
|
||||
|
@ -34,7 +34,7 @@ alertmanager:
|
|||
receivers:
|
||||
- name: tg1
|
||||
telegram_configs:
|
||||
- bot_token_file: '/etc/alertmanager/secrets/api_key'
|
||||
- bot_token_file: '/etc/alertmanager/secrets/telegram-api/api_key'
|
||||
chat_id: -995270884
|
||||
api_url: "https://api.telegram.org"
|
||||
send_resolved: true
|
||||
|
|
Loading…
Reference in a new issue