Hello Guido,
Thanks for reaching out again.
When the central configuration is used with the
ossec.conf on the agent, the local configuration on the agent and the shared configuration are merged. However, the
ossec.conf file is read before the shared
agent.conf and the last configuration of any setting will overwrite the previous. Also if a file path for a particular setting is set in both of the configuration files, both paths will be included in the final configuration. You can check our
documentation for more information on how it works.
I hope this was helpful and provided clarity. Don't hesitate to reach out again if you still need any other thing. We remain attentive.
Best regards.