Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Ambari alerts tracking

Ambari alerts tracking

New Contributor

Hi,

Is there any way to keep track of all Ambari alerts? Does Ambari keeps the alerts?

Thanks

Regards

Farhad

3 REPLIES 3

Re: Ambari alerts tracking

@Farhad Heybati

i think you can explore this on Ambari Server host.

cat /var/log/ambari-server/ambari-alerts.log | grep alert > Ambari_Alerts.txt

Highlighted

Re: Ambari alerts tracking

@Farhad Heybati

In UI there is no option to view all older Alerts information however you can find that in the database alert_history table. on other side you can configure SNMP notifications as well so that you can keep track of those at SNMP server side.

Re: Ambari alerts tracking

Super Collaborator

The Alert History endpoint can provide you what you need:

https://github.com/apache/ambari/blob/trunk/ambari-server/docs/api/v1/alerts.md#alert-history

This allows you to query for alerts through the REST API by name, service, criticality, etc.

Don't have an account?
Coming from Hortonworks? Activate your account here