fix alertmanager

This commit is contained in:
Aaron Riedel 2023-09-15 01:43:41 +02:00
parent b7eb2dc405
commit d22605c1d9
Signed by: aaron
GPG key ID: 643004654D40D577

View file

@ -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