wazuh-control

The wazuh-control script is used to start, stop, configure, check on the status of Wazuh processes and enable the debug mode.

Note

We recommend using the systemctl or service commands (depending on your OS) to start, stop or restart the Wazuh service. This will avoid inconsistencies between the service status and the processes status.

The -j option is used for enabling JSON output format, but only in Wazuh server installations.

start

Start the Wazuh processes.

stop

Stop the Wazuh processes.

restart

Restart the Wazuh processes.

reload

Restart all Wazuh processes except wazuh-execd.

This allows an agent to reload without losing active response status.

This option is not available on a local Wazuh installation.

status

Determine which Wazuh processes are running.

info

Prints the Wazuh installation type, version, and revision in environment variables format.

info

[-v -r -t]

Only one option at the time, prints the value of: version, revision or type.

enable

debug

Run all Wazuh daemons in debug mode.

disable

debug

Turn off debug mode.

Note

To use the database option, Database support must be compiled in during initial installation.