Malcolm service status
malcolm_service_statusConfirm all Malcolm services are ready before a hunt. Returns version, OpenSearch health, per-service readiness, and a total ready count.
Instructions
Report readiness of each Malcolm service plus Malcolm version and OpenSearch health.
Call this before a hunt to confirm the whole stack is up. For a bare
is-the-API-alive check use malcolm_ping; for the OpenSearch cluster's
green/yellow/red detail alone use cluster_health; for data freshness and
per-dataset counts use malcolm_data_coverage. Returns a JSON summary with
malcolm_version, mode, opensearch_health, a per-service readiness map, and an
"N/total services ready" line. One probe failing adds an `errors` entry and
keeps the rest; both failing is reported as an error, since there is then no
status at all to report.
The readiness map is also where the optional subsystems declare
themselves — measured on Malcolm v26.07.1, 15 keys, netbox, filescan and
extracted_files among them. Read the relevant key here before taking an
empty answer from malcolm_netbox_lookup or malcolm_file_scans as "no
such asset" when it may mean "that subsystem is not deployed".
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |