Malcolm service status
malcolm_service_statusCheck readiness of every Malcolm service plus version and OpenSearch health before a hunt, revealing which optional subsystems like NetBox or filescan are deployed.
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, 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 |