Hello everyone
I’m using Wazuh 4.14 with File Integrity Monitoring (FIM) / syscheck on a Windows file-server. I have the following setup:
Large data directories on the server (~ 350,000 files).
In my centralized agent configuration (pushed to the Windows agent) I defined:
<agent_config name="FileServer"> <syscheck> ... <file_limit> <enabled>yes</enabled> <entries>500000</entries> </file_limit> ... </syscheck> </agent_config>
However, despite this setting I receive alerts indicating that the “maximum limit of files monitored has been reached” at 100,000 — i.e. Wazuh seems to ignore or revert to the default limit.
The agent’s FIM database never tracks beyond 100,000 files.
Any additional files — even though there are far more on disk — are not monitored and no further monitoring events are generated for them.
The behavior persists across configuration reloads / agent restarts.
Defined a high entry value (500,000).
Ensured config is correctly applied to the manager and agent.
Verified that remote configuration is properly pushed.
Is <file_limit> still supported and functional for FIM / syscheck under Wazuh 4.14 on Windows agents?
If yes — are there additional prerequisites or configuration parameters (beyond <file_limit>) to make large-scale monitoring work (e.g. disabling whodata, adjusting threads, database performance settings)?
If not — what is the recommended approach with Wazuh to monitor very large Windows file-servers (hundreds of thousands or millions of files)?
Are there known limitations or bugs in Wazuh’s FIM module that prevent scaling beyond ~100,000 files on Windows agents, even if configuration requests a higher limit?
Are there any alternative modules, settings, or external tools suggested for robust monitoring under such scale, while still integrating with a Wazuh-based environment?
Wazuh manager version: 4.14
Agent OS: Windows (file server)
Total number of files expected to monitor: ~ 350,000 (and potentially growing)
Current behavior: monitoring stops at 100,000 files, additional files ignored
Thank you in advance for any guidance, experience or recommendations.
Best regards,
here is the alert:
Nov 30, 2025 @ 11:21:23.844
Can you check if the configuration was correctly forwarded to your agent?
I could not find any bugs related to file_limit
C:\Program Files (x86)\ossec-agent\shared\agent.conf
Once you confirm that the configuration is there. Restart the agent and check if that resolves the issue.
You can also restart the agent using PowerShell with administrator privileges
Dear Md. Nazmur Sakib,
As requested, I have checked the agent configuration and restarted the agent using PowerShell with administrator privileges.
Attached are the following files from the File Server for your reference:
C:\Program Files (x86)\ossec-agent\shared\agent.conf
C:\Program Files (x86)\ossec-agent\ossec.conf
Additionally, here are the last 50 lines of ossec.log after the agent restart, showing that the agent is starting correctly, connecting to the manager, and monitoring all intended directories
The previous warning about max_files no longer appears. The agent is monitoring the business directories (E:\departments, E:\shares, E:\users) and system directories (C:\Windows, C:\Windows\System32) as expected.
Please advise if any further steps are needed to confirm that the <file_limit> is fully applied for monitoring all ~350,000 files.
--
You received this message because you are subscribed to the Google Groups "Wazuh | Mailing List" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wazuh+un...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/wazuh/2f346cca-fc18-4c51-a04c-ac4fc53b590bn%40googlegroups.com.
In your agent.conf(agent group configuration), I can see this configuration.
<alert_new_files>yes</alert_new_files>
# <file_limit>500000</file_limit>
<file_limit>
<enabled>yes</enabled>
<entries>100000</entries>
</file_limit>
The <file_limit>500000</file_limit> is not a valid configuration.
Ref: file_limit
And # is not used for commenting out lines in XML. To comment out a line, you need to define it like this.
<!-- bla bla bla -->
--
You received this message because you are subscribed to the Google Groups "Wazuh | Mailing List" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wazuh+un...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/wazuh/60e0ebc8-2ef3-403b-a3dc-dce2b9cd31d1n%40googlegroups.com.