OS Manuals

/var/ossec/bin/manage_agents

Wazuh Manager - Security monitoring and threat detection server

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

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

Wazuh v4.14.10 - Wazuh Inc. (info@wazuh.com)
http://www.wazuh.com
  manage_agents -[Vhlj] [-a <ip> -n <name>] [-F sec] [-e id] [-r id] [-i id] [-f file]
    -V          Version and license message.
    -h          This help message.
    -j          Use JSON output.
    -l          List available agents.
    -L          Disable agents limit.
    -a <ip>     Add new agent.
    -n <name>   Name for new agent.
    -e <id>     Extracts key for an agent (Manager only).
    -r <id>     Remove an agent (Manager only).
    -i <key>    Import authentication key (Agent only).
    -R <sec>    Replace agents that were registered at least <sec> seconds.
    -D <sec>    Replace agents that were disconnected at least <sec> seconds.
    -f <file>   Bulk generate client keys from file (Manager only).
                <file> contains lines in IP,NAME format.
Options (13)
OptionDescriptionSource
-VVersion and license message.help
-hThis help message.help
-jUse JSON output.help
-lList available agents.help
-LDisable agents limit.help
-a ipAdd new agent.help
-n nameName for new agent.help
-e idExtracts key for an agent (Manager only).help
-r idRemove an agent (Manager only).help
-i keyImport authentication key (Agent only).help
-R secReplace agents that were registered at least <sec> seconds.help
-D secReplace agents that were disconnected at least <sec> seconds.help
-f fileBulk generate client keys from file (Manager only).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.