Last active
October 16, 2022 21:39
-
-
Save AlexeySetevoi/0d260233bcfac710c9ab54dd15071b3f to your computer and use it in GitHub Desktop.
Alertmanager 0.24.0 telegram receiver send example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
route: | |
group_by: [ 'job', 'alertname', 'priority' ] | |
group_wait: 30s | |
group_interval: 5m | |
repeat_interval: 12h | |
receiver: 'telegram' | |
routes: | |
- receiver: 'null' | |
matchers: | |
- alertname =~ "InfoInhibitor|Watchdog" | |
- receiver: 'telegram' | |
continue: true | |
receivers: | |
- name: 'null' | |
- name: 'telegram' | |
telegram_configs: | |
- bot_token: <full:bot_token> | |
chat_id: <send_chat_id_with_hyphen> | |
api_url: 'https://api.telegram.org' | |
parse_mode: 'HTML' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment