feat: add documentation for telegram bot

This commit is contained in:
Morre 2021-12-23 18:55:10 +01:00
parent f16797490b
commit a2a6a9892e
No known key found for this signature in database
GPG key ID: F36FB77CA7C2E7B2

22
README.md Normal file
View file

@ -0,0 +1,22 @@
# prometheus-alertmanager
## Telegram Bot
* Bot User muss zuerst angeschrieben werden: @notificationcccvdebot
* Eigene Userid über `/getid` ans idbot schreiben rausbekommen, User: @myidbot
* Das gibt euch eure user id
* alertmanager config um weiteren Eintrag erweitern:
```
prometheus_alertmanager:
[..]
config:
[..]
receivers:
[..]
webhook_configs:
# telegram <username>
- url: 'http://[::1]:29119/<userid>/alert'
send_resolved: true
[..]
```