#!/bin/bash warn_icon="⚠" message=$(cat <<- EOF ${warn_icon} <strong>Service:</strong> $MONIT_SERVICE on $MONIT_HOST<br> <strong>Event:</strong> $MONIT_EVENT<br /> <strong>When:</strong> $MONIT_DATE <br/> <strong>Info:</strong> $MONIT_DESCRIPTION <br/>) EOF ) /usr/local/bin/matrix-commander.py \ --credentials /etc/matrix-commander/credentials.json \ --store /var/lib/matrix-commander/store/ \ --html \ -m "${message}"