Hello!
Sorry, I made an important omission on my previous answer. There are
two different
internal options that have to be set on each agent's local_internal_options.conf to enable remote commands:
- wazuh_command.remote_commands=1
- logcollector.remote_commands=1
Make sure those two lines are in
each of the agent's etc/local_internal_options.conf, then restart the agent, and try again please.
As a side note, there is no need to modify the internal_options.conf file. Every setting on local_internal_options.conf will override the one on internal_options.conf. Also internal_options.conf will be overwritten during upgrades. In order to maintain custom changes, you must use the /var/ossec/etc/local_internal_options.conf file.
Sorry again for the mishap and please let me know if this solved your issue.
Regards!