Hello adebabay,
You can disable all unwanted modules by changing the manager/agent's configuration (
/var/ossec/etc/ossec.conf). In order to do that, change the
disabled field value to
yes and the
enabled to
no of every module you want to disable.
If you only want to use FIM and the log data collection module, you should disable the following:
rootcheck,
syscollector,
sca and
vulnerability detector :
<rootcheck>
<disabled>yes</disabled>
...
</rootcheck>
<wodle name="syscollector">
<disabled>yes</disabled>
...
</wodle>
<sca>
<enabled>no</enabled>
...
</sca>
<vulnerability-detector>
<enabled>no</enabled>
...
</vulnerability-detector>
<active-response>
<disabled>yes</disabled>
...
</active-response>If you have multiple agents in which you want to disable certain modules I recommend you to use a centralized configuration. In order to do that follow this documentation page
https://documentation.wazuh.com/current/user-manual/reference/centralized-configuration.htmlIf you have any doubt do not hesitate to ask