Table of Contents
Code
See
Ambari - Agent
/usr/lib/ambari-agent/lib/ambari_agent/alerts
ams_alert.py
base_alert.py
collector.py
metric_alert.py
port_alert.py
recovery_alert.py
script_alert.py
web_alert.py
Documentation / Reference
https://cwiki.apache.org/confluence/display/AMBARI/Alerts
Creating a Script-based Alert Dispatcher
​Chapter 8. Managing Alerts and Notifications
https://github.com/monolive/ambari-custom-alerts