Ping Malcolm API
malcolm_pingCheck if the Malcolm API is reachable and credentials are valid with a simple ping request. Use this liveness probe to confirm the HTTP endpoint responds, returning 'pong' on success or an error if the API is unreachable.
Instructions
Quick liveness check that the Malcolm API answers (GET /mapi/ping).
Use this as the cheapest reachability probe. For readiness of the individual
services behind the API use malcolm_service_status; for the OpenSearch cluster
status specifically use cluster_health. Returns the raw /mapi/ping response
({"ping": "pong"}); an unreachable API is reported as an error, not as an
answer.
A pass proves exactly two things: the HTTP endpoint answers, and the
configured credentials authenticate — measured on Malcolm v26.07.1, a wrong
password comes back as an upstream 401, not as a pass. It proves nothing
about OpenSearch, the capture pipeline or any optional subsystem.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |