- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Amabri REST API check service status
- Labels:
-
Apache Ambari
Created ‎01-18-2019 07:34 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Guys,
I am trying to check the service status with Ambari rest API, However I am not able to find any documention which explain thing in great details.
For example, If I hit following REST URL
http://localhost:8080/api/v1/clusters/Sandbox/services/HDFS
I get following output
"maintenance_state": "OFF", "repository_state": "CURRENT", "service_name": "HDFS", "state": "STARTED" }, "alerts_summary": { "CRITICAL": 0, "MAINTENANCE": 8, "OK": 293, "UNKNOWN": 4, "WARNING": 0 },
However, I am not sure how to interpret this things. Should I care about MAINTENANCE, UNKNOWN and WARNING and just checking that nothing CRITICAL is good enough.
This is mainly for developers to understand and track the time how much any service is down.
Created ‎01-18-2019 07:40 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Created ‎01-18-2019 10:51 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
not exactly, as I mentioned state could either be started or installed only. I was to see if service is facing any issue,
