Support Questions

Find answers, ask questions, and share your expertise

Is there any alert available for cluster CPU utilization in ambari?

I have two Datanodes (no other component on them except datanode and nodemanagers) and a master node (a higher config machine) containing the YARN/HDFS and other master components. I want to set up an alert for the CPU utilization of the Datanodes, which as I've mentioned do not have any other components).

5 REPLIES 5

Super Mentor

@Abhishek Tripathi

Currently there is no In-built Host CPU alert available in Ambari.

But ambari allows you to create your own alerts based on your specific requierment and then register it.

I have written a similar article here (for host disk space alerting), May be you would like to take a look at it.

https://community.hortonworks.com/articles/38149/how-to-create-and-register-custom-ambari-alerts.htm...

@Jay SenSharma

could you please share your python file with Me show that I will get an Idea how to go through it.

Super Mentor

@Abhishek Tripathi

I have attached the complete Zip with the Testcase in the same Article link that i posted earlier. It can also be downloaded from.

https://community.hortonworks.com/storage/attachments/4811-custom-alerts.zip

@Jay SenSharma

Thank You Sir. If we need further help we will get in touch with you.

Super Mentor