Hello Team,
I hope this email finds you well.
We are currently facing an issue with one of our Wazuh agents. It appears that a modification was made to the ossec.conf file, after which the agent went offline. The agent logs indicate that the configuration change was not compatible with the ossec.conf file, resulting in the service disruption.
At this point, we are unable to determine the root cause of the modification. Our team did not make any changes on the endpoint during the period in question. However, upon investigation, we found that a similar configuration is currently defined in the agent.conf group configuration on the Wazuh Manager side, although it was not present at the time of the incident.
We would like to understand how this configuration could have been reflected in the ossec.conf file on the agent and whether there is any mechanism through which the manager-side configuration can automatically update the agent configuration.
Could you please help us identify the root cause and clarify the configuration synchronization behavior between agent.conf and ossec.conf?
Hello Stuti,
Thank you for your response.
I understood your explanation. However, I found that the additional configuration had been added after the closing </ossec_config> tag, as shown below:
<ossec_config>I have now corrected the configuration issue, and there are no related errors appearing in the ossec.log file for that date.
Thank you for your assistance.
regards,