Add this script line to alert M/Monit (https://<M/MONIT_URL>/admin/alerts/)
/path/to/ruby /path/to/post_to_slack.rb --monit-host $MONIT_HOST --service $MONIT_SERVICE --status {succeed, failed, changed} --text "$MONIT_DESCRIPTION"
Add this script line to alert M/Monit (https://<M/MONIT_URL>/admin/alerts/)
/path/to/ruby /path/to/post_to_slack.rb --monit-host $MONIT_HOST --service $MONIT_SERVICE --status {succeed, failed, changed} --text "$MONIT_DESCRIPTION"