Created 11-05-2018 06:44 PM
we have ambari cluster - version 2.6.1
is it posible to get by API all ambari alarms on the services by REST API?
Created 11-05-2018 08:16 PM
Based on the CRITICAL Or WARNING state you can capture all the alerts that are triggered as following (where component/host are not in maintenance mode):
# curl -H "X-Requested-By: ambari" -u admin:admin -X GET http://$AMBARI_HOST:8080/api/v1/clusters/$CLUSTER_NAME/alerts?fields=Alert/component_name,Alert/defi...
.
Created 11-05-2018 08:16 PM
Based on the CRITICAL Or WARNING state you can capture all the alerts that are triggered as following (where component/host are not in maintenance mode):
# curl -H "X-Requested-By: ambari" -u admin:admin -X GET http://$AMBARI_HOST:8080/api/v1/clusters/$CLUSTER_NAME/alerts?fields=Alert/component_name,Alert/defi...
.
Created 11-05-2018 08:37 PM
@Jay thank you I will check this API on my cluster , meenhile can you please advice about my thred - https://community.hortonworks.com/questions/227204/avoid-kafka-disk-to-became-100-by-cron-job.html