Reputation: 33
If yes then how to use that alert? And If it is not available then How to create an custom alert for getting cluster CPU utilization through ambari?
Upvotes: 0
Views: 488
Reputation: 1637
Ambari alerts are tied to services. Many services already have alerts for CPU utilization on nodes which run certain components. For instance Yarn has a ResourceManager CPU Utilization
alert. This alert will be setup for any node running the YARN/RESOURCEMANAGER component. HBase has a similar alert HBase Master CPU Utilization
which would be setup on nodes running HBASE/MASTER component.
It's not clear from your question what your cluster layout is nor how many nodes your cluster consists of. So I can't give you a definitive answer for your setup.
In general, if you had a component on every node in your cluster you could set up an alert for that component that monitors CPU Utilization. If you don't have a component on every node, then you would have to set up several such alerts across components to achieve what you want.
You can add or alter alerts via the Ambari UI by clicking the Alerts
tab. In that view you can adjust alert notifications and alert settings by clicking the actions button and selecting the corresponding item from the drop down.
Upvotes: 1