Hello Team,
I hope you are doing well.
I am facing an issue with a custom active response configured on the Wazuh server, which is not executing on the agent side.
Configuration DetailsActive response script path (Server):
/var/ossec/active-response/bin/f2b-unban.sh
Script content:
The script simply logs a success message to verify execution.
Command configuration:
<command>Active response configuration:
<active-response>When running agent_control, the active response appears correctly:
Response name: f2b-unban0, command: f2b-unban.shI trigger the response using the following command:
sudo /var/ossec/bin/agent_control -b 172.24.1.1 -f f2b-unban0 -aThe output confirms execution:
Wazuh agent_control: Running active response 'f2b-unban0' on: allAlthough the command executes successfully from the server side, the script does not run on the agent, and no corresponding log entry is generated on the agent system.
RequestCould you please help identify why the active response is not being executed on the agent side?
Kindly let me know if additional configuration, permissions, or agent-side deployment is required.
Thank you for your time and support.