Updated notify example script

This commit is contained in:
brammp committed 2021-01-08 11:10:03 +01:00
1 parent 8f9fb4fd5c
commit a0b6191096
2 files changed
+3 -20

No files matched your search

+3
View File
@@ -0,0 +1,3 @@
##Custom notify
echo '#!/bin/sh' > /opt/MonitNotify.sh
echo 'curl "https://<gotifyurl>/message?token=<APIToken>" -F "title=[$MONIT_HOST] $1" -F "message=$MONIT_SERVICE $MONIT_DESCRIPTION" -F "priority=5"' >> /opt/MonitNotify.sh