Files
VPS-scripts_Monit/DraftNotify

4 lines
228 B
Plaintext

##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