Cloudera Manager => Slack integration
This script needs to be placed at the server who has CM installed, maybe /opt/slack/cm2slack.py is a good choice. Permissions have to be executable for the CM user (mostly cloudera-scm).
CM integration: https://www.cloudera.com/documentation/enterprise/5-6-x/topics/cm_ag_alert_script.html