![]() |
![]()
| ![]() |
![]()
NAMEzeek-client SYNOPSISzeek-client [-h] [-c FILE] [--controller HOST:PORT] [--set SECTION.KEY=VAL] [--quiet | --verbose] [--version] {deploy,deploy-config,get-config,get-id-value,get-instances,get-nodes,monitor,restart,stage-config,show-settings,test-timeout} ... DESCRIPTIONA command-line client for Zeek's Management Framework. Use this client to push cluster configurations to a cluster controller, retrieve running state from the system, restart nodes, and more. For details about Zeek's Management Framework, please consult the documentation at https://docs.zeek.org/en/master/frameworks/management.html. OPTIONS
COMMANDSzeek-client deployDeploy a staged cluster configuration. usage: zeek-client deploy [-h] zeek-client deploy-configUpload a cluster configuration and deploy it. usage: zeek-client deploy-config [-h] FILE arguments:
zeek-client get-configRetrieve staged or deployed cluster configuration. usage: zeek-client get-config [-h] [--filename FILE] [--as-json]
options:
zeek-client get-id-valueShow the value of a given identifier in Zeek cluster nodes. usage: zeek-client get-id-value [-h] IDENTIFIER [NODES ...] arguments:
zeek-client get-instancesShow instances connected to the controller. usage: zeek-client get-instances [-h] zeek-client get-nodesShow active Zeek nodes at each instance. usage: zeek-client get-nodes [-h] zeek-client monitorFor troubleshooting: do nothing, just report events. usage: zeek-client monitor [-h] zeek-client restartRestart cluster nodes. usage: zeek-client restart [-h] [NODES ...] arguments:
zeek-client stage-configUpload a cluster configuration for later deployment. usage: zeek-client stage-config [-h] FILE arguments:
zeek-client show-settingsShow zeek-client's own configuration. usage: zeek-client show-settings [-h] zeek-client test-timeoutSend timeout test event. usage: zeek-client test-timeout [-h] [--with-state] options:
EXIT STATUSThe client exits with 0 on success and 1 if a problem arises, such as lack of a response from the controller, unexpected response data, or the controller explicitly reporting an error in its handling of a command. ENVIRONMENTzeek-client supports the following environment variables:
SUGGESTIONS AND BUG REPORTSThe Management Framework and this client are experimental software. The Zeek team welcomes your feedback. Please file issues on Github at https://github.com/zeek/zeek-client/issues, or contact us on Discourse or Slack: https://zeek.org/community
|