added support for telegram notifications

This commit is contained in:
nd 2020-06-04 01:25:44 +02:00
parent 0f748dd02a
commit 069df8c553
No known key found for this signature in database
GPG key ID: 21B5CD4DEE3670E9
5 changed files with 107 additions and 2 deletions

View file

@ -0,0 +1,14 @@
[Unit]
Description=Sends alerts via telegram
After=network.target
[Service]
ExecStart=/usr/local/bin/prometheus-telegram-bot.py PROD
DynamicUser=yes
NoNewPrivileges=True
ProtectSystem=strict
[Install]
WantedBy=multi-user.target