added support for telegram notifications
This commit is contained in:
parent
0f748dd02a
commit
069df8c553
5 changed files with 107 additions and 2 deletions
14
files/prometheus-telegram-bot.service
Normal file
14
files/prometheus-telegram-bot.service
Normal 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
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue