OS Manuals

/var/ossec/bin/agent_control

Wazuh Manager - Security monitoring and threat detection server

From wazuh-manager 4.14.10-r0 (enterprise-packages), captured 2026-11-08 by running agent_control --help (exit 1). permalink

/var/ossec/bin/agent_control: invalid option -- '-'

Wazuh agent_control: Control remote agents.
Available options:
	-h                This help message.
	-l                List available (active or not) agents.
	-lc               List active agents only.
	-ln               List disconnected agents only.
	-i <id>           Extracts information from an agent.
	-R -a             Restart all agents.
	-R -u <id>        Restart the specified agent.
	-r -a             Runs the integrity/rootkit checking on all agents now.
	-r -u <id>        Runs the integrity/rootkit checking on one agent now.

	-s                Changes the output to CSV (comma delimited).
	-j                Changes the output to JSON .
Available options for active response:
	-b <ip>           Blocks the specified ip address.
	-f <ar> -a        Used with -b, specifies which response to run. Apply AR on all agents.
	-f <ar> -u <id>   Used with -b, specifies which response to run. Apply AR on specified agent.
	-L                List available active responses.
Options (12)
OptionDescriptionSource
-hThis help message.help
-lList available (active or not) agents.help
-lcList active agents only.help
-lnList disconnected agents only.help
-i idExtracts information from an agent.help
-R -aRestart all agents.help
-r -aRuns the integrity/rootkit checking on all agents now.help
-sChanges the output to CSV (comma delimited).help
-jChanges the output to JSON .help
-b ipBlocks the specified ip address.help
-f arUsed with -b, specifies which response to run.help
-LList available active responses.help

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.