added support to message rocketchat

This commit is contained in:
nd 2020-12-14 20:16:41 +01:00
parent 8df5f497d8
commit ae12f28eb4
No known key found for this signature in database
GPG key ID: 21B5CD4DEE3670E9
5 changed files with 118 additions and 2 deletions

View file

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