monitoring/conf/alertmanager/alertmanager.tmpl
2022-04-22 20:33:06 +02:00

17 lines
No EOL
418 B
Cheetah

global:
templates:
- /etc/alertmanager/templates/*.tmpl
route:
group_wait: 10s
group_interval: 30s
repeat_interval: 30m
group_by: [alertname, instance]
receiver: telegram
receivers:
- name: telegram
telegram_configs:
- bot_token: BOT_TOKEN
chat_id: CHAT_ID
api_url: https://api.telegram.org
parse_mode: 'HTML'
message: '{{ template "telegram.custom.message" .}}'