zeek/scripts/policy/frameworks/cluster
Christian Kreibich 7db8634c8b Add ClusterController::API::get_nodes_request/response event pair
This allows querying the status of Zeek nodes currently running in a cluster.
The controller relays the request to all instances and accumulates their
responses.

The response back to the client contains one Result record per instance
response, each of which carrying a ClusterController::Types::NodeState vector in
its $data member to convey the state of each node at that instance.

The NodeState record tracks the name of the node, its role in the controller (if
any), its role in the data cluster (if any), as well as PID and listening port,
if any.
2022-02-02 22:59:22 -08:00
..
agent Add ClusterController::API::get_nodes_request/response event pair 2022-02-02 22:59:22 -08:00
controller Add ClusterController::API::get_nodes_request/response event pair 2022-02-02 22:59:22 -08:00