- pip install -r requirements.txt
- botToken
- chatID (without -)
receivers:
- name: 'telegram-webhook'
webhook_configs:
- url: http://ipFlaskAlert:9119/alert
send_resolved: true
- Add bot on channel
- Send message on this channel with @botname
- Access access the link https://api.telegram.org/botXXX:YYYY/getUpdates (xxx:yyyy botID)
- python flaskAlert.py
- docker container run -d -e bottoken="telegramBotToken" -e chatid="telegramChatID" -p 9119:9119 nopp/alertmanager-webhook-telegram:latest