Python Version (https://github.com/nopp/alertmanager-webhook-telegram-python)
Go version 1.13.9
- go get -d .
receivers:
- name: 'telegram-webhook'
webhook_configs:
- url: http://ipGoAlert:9229/alert
send_resolved: true
git clone https://github.com/nopp/alertmanager-webhook-telegram-go.git
cd alertmanager-webhook-telegram-go/docker/
docker build -t awt-go:0.1 .
docker run -d --name awt-go-bot \
-e "bottoken=telegramBotToken" \
-e "chatid=telegramChatID" \
-p 9229:9229 awt-go:0.1