In Ambari HDFS page, we can see the "Under Replicated Blocks" widget under metrics. Is there a corresponding Alert that can be configured to send email alerts? I am using Ambari 2.5.1.
I understand we could probably set up a custom metric to capture this info. But was hoping to see whether its already built in. Did some search with key works "under", "rep" etc. But no luck.
Unfortunately, but not built-in. Just to get you started, here are a few good reference that could help you to build one:
Anyhow, WebHDFS is the REST API you need to use:
Thank you. A lot of good information. Will go thru these and see how we can accomplish this.