I am interested in creating some alerts based upon cluster metrics that I see on the Grafana dashboard in Ambari.
I see there is an API for metrics (https://cwiki.apache.org/confluence/display/AMBARI/Ambari+Metrics+API+specification) which presumably means I can pull that same data via a service call. However, what I want to do is fire a notification based upon an alert so the less code I have to write the better.
I found this link about creating an alert definition based upon a metric and it looks like its just me posting the write data and I can create an alert based off of any one of these metrics:
However, I don't fully understand it and I was wondering if there is any more in-depth documentation or example set for creating alert definitions based upon metrics?