Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This document describes how to run service checks from the Ambari REST API. For example, to run the YARN service check:

Code Block
POST
/api/v1/clusters/MyCluster/requests

{
  "RequestInfo" :
  {
    "context":"YARN Service Check",
    "command":"YARN_SERVICE_CHECK"
  },
  "Requests/resource_filters":
  [{
    "service_name":"YARN"
  }]
}

...