Worker API

Worker API

The worker runs three HTTP endpoints, on three ports it binds separately: /ws streams every monitoring event it processes, /commands accepts Naemon external commands and puts them back on the queue for the broker module, and /metrics exposes its Prometheus instrumentation. Both of the first two are authenticated and bind to loopback unless you tell them otherwise.

The payload schema behind every event topic is at the foot of this page, under Models — the topic table in the document links straight to each one.

ℹ️
The document below is the worker’s own docs/openapi.yaml, mirrored here unchanged — the worker repository is the source of truth. Fetch it from /api/statusengine-worker.yaml to load it into your own client; there is no request console here, because a call made from this page would have to cross an origin your worker does not allow.