18 lines
417 B
Cheetah
18 lines
417 B
Cheetah
global:
|
|
templates:
|
|
- /etc/alertmanager/templates/*.tmpl
|
|
route:
|
|
group_wait: 5m
|
|
group_interval: 15m
|
|
repeat_interval: 1h
|
|
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" .}}'
|