Created on 09-21-201712:01 AM - edited 08-17-201911:06 AM
This article focuses on setting up a custom ambari alert which monitors Yarn memory utilization by fetching from yarn JMX.
Prerequisites - JSON file,access to node CLI, cluster credentials.
Steps1: Create a alert.json file and save it on any location on node. There are two files attached (with comments and a template).
Note: In the line ""Hadoop:service=ResourceManager,name=QueueMetrics,q0=root/AllocatedMB"" I am fetching the AllocatedMB from root queue. Thats visible in RM JMX.
Step2: From the same node run this below command.It will create a new alert in ambari.