update
This commit is contained in:
parent
3c680769be
commit
0824fd9621
7
roles/zabbix-srv/files/gotify.sh
Normal file
7
roles/zabbix-srv/files/gotify.sh
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
ALERTSENDTO=$1
|
||||||
|
ALERTSUBJECT=$2
|
||||||
|
ALERTMESSAGE=$3
|
||||||
|
|
||||||
|
curl -X POST "http://s-backup.gsb.adm/message?token=$ALERTSENDTO" -F "title=$ALERTSUBJECT" -F "message=$ALERTMESSAGE" -F "priority=5" > /dev/null 2>&1
|
Loading…
x
Reference in New Issue
Block a user