policy/frameworks/management/config.zeek
- Management
Management framework configuration settings common to agent and controller. This does not include config settings that exist in both agent and controller but that they set differently, since setting defaults here would be awkward or pointless (since both node types would overwrite them anyway). For role-specific settings, see management/controller/config.zeek and management/agent/config.zeek.
- Namespace
Management
- Imports
base/misc/installation.zeek, policy/frameworks/management/types.zeek
Summary
Redefinable Options
The retry interval for Broker connects. |
|
The fallback listen address if more specific addresses, such as
the controller’s |
|
The role of this process in cluster management. |
|
The toplevel directory in which the Management framework creates spool state for any Zeek nodes, including the Zeek cluster, agents, and the controller. |
|
The toplevel directory for variable state, such as Broker data stores. |
Functions
Returns the effective spool directory for the management framework. |
|
Returns the effective state directory for the management framework. |
Detailed Interface
Redefinable Options
- Management::connect_retry
-
The retry interval for Broker connects. Defaults to a more aggressive value compared to Broker’s 30s.
- Management::default_address
-
The fallback listen address if more specific addresses, such as the controller’s
Management::Controller::listen_address
remains empty. Unless redefined, this listens on all interfaces.
- Management::role
- Type
- Attributes
- Default
Management::NONE
- Redefinition
from policy/frameworks/management/agent/main.zeek
=
:Management::AGENT
- Redefinition
from policy/frameworks/management/controller/main.zeek
=
:Management::CONTROLLER
- Redefinition
from policy/frameworks/management/node/main.zeek
=
:Management::NODE
The role of this process in cluster management. Use this to differentiate code based on the type of node in which it ends up running.
- Management::spool_dir
-
The toplevel directory in which the Management framework creates spool state for any Zeek nodes, including the Zeek cluster, agents, and the controller. Don’t use this directly, use the
Management::get_spool_dir
function.
- Management::state_dir
-
The toplevel directory for variable state, such as Broker data stores. Don’t use this directly, use the
Management::get_state_dir
function.
Functions
- Management::get_spool_dir
-
Returns the effective spool directory for the management framework. That’s
Management::spool_dir
when set, otherwise the installation’s spool directory.
- Management::get_state_dir
-
Returns the effective state directory for the management framework. That’s
Management::state_dir
when set, otherwise the installation’s state directory.