Health Check Data

get

/api/v2/instances/{id}/health_check/

Health checks are used to obtain important data about an instance. Instance fields affected by the health check are shown in this view. Fundamentally, health checks require running code on the machine in question.

  • For instances with node_type of "control" or "hybrid", health checks are performed as part of a periodic task that runs in the background.
  • For instances with node_type of "execution", health checks are done by submitting a work unit through the receptor mesh.

If ran through the receptor mesh, the invoked command is:

ansible-runner worker --worker-info

For execution nodes, these checks are not performed on a regular basis. Health checks against functional nodes will be ran when the node is first discovered. Health checks against nodes with errors will be repeated at a reduced frequency.

Request

Supported Media Types
Path Parameters
Query Parameters
Back to Top

Response

Supported Media Types

200 Response

Body ()
Root Schema : schema
Type: object
Show Source
Nested Schema : results
Type: array
Show Source
Nested Schema : InstanceHealthCheck
Type: object
Show Source
Back to Top