added support to message rocketchat
This commit is contained in:
parent
8df5f497d8
commit
ae12f28eb4
5 changed files with 118 additions and 2 deletions
14
files/prometheus-rocketchat-bot.service
Normal file
14
files/prometheus-rocketchat-bot.service
Normal 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
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue