Skip to main content

Module handler

Module handler 

Source
Expand description

GET /agentmux/discovery with the live facts’ parameters (spec §5): the same answer as ever with no parameter, this host’s agents narrowed, paged and given the groups asked for with fields, detail and the filters, or, with view=status, the compact status (Agents status). The same answer is what the LAN op agents.status gives a peer (answer).

Functions§

answer 🔒
This machine’s answer to query: the discovery body with its agents narrowed and paged, or the compact status. With host=all it also has peers, the LAN peers a caller may ask the same question.
bad_request 🔒
handle 🔒
is_status_view 🔒
Which answer a query asks for: the discovery list (the default) or the compact status.