Hi,
I am getting maximum file size error as below in agent log file. I am using wazuh 4.0 server and installed 4.0.0 agent version for client machine. I have enable shared agent and monitoring below files in real time.
<!-- Custom files to be monitored. -->
<directories check_all="yes" realtime="yes" whodata="yes">C:\temp</directories>
<directories check_all="yes" realtime="yes" whodata="yes">%windir%</directories>
<directories check_all="yes" realtime="yes" whodata="yes">%ProgramFiles%</directories>
<directories check_all="yes" realtime="yes" whodata="yes">%ProgramFiles(x86)%</directories>
Error log in Client log File:-
2023/01/09 05:26:34 ossec-agent: INFO: (6003): Monitoring directory/file: 'c:\program files (x86)', with options 'size | permissions | owner | group | mtime | inode | hash_md5 | hash_sha1 | hash_sha256 | attributes | whodata'.
2023/01/09 05:26:34 ossec-agent: INFO: (6040): Maximum file size limit to generate diff information configured to '51200 KB' for 'c:\program files (x86)'.
2023/01/09 05:26:34 ossec-agent: INFO: (6003): Monitoring directory/file: 'c:\programdata\microsoft\windows\start menu\programs\startup', with options 'size | permissions | owner | group | mtime | inode | hash_md5 | hash_sha1 | hash_sha256 | attributes | realtime'.
2023/01/09 05:26:34 ossec-agent: INFO: (6040): Maximum file size limit to generate diff information configured to '51200 KB' for 'c:\programdata\microsoft\windows\start menu\programs\startup'.
2023/01/09 05:26:34 ossec-agent: INFO: (6003): Monitoring directory/file: 'c:\temp', with options 'size | permissions | owner | group | mtime | inode | hash_md5 | hash_sha1 | hash_sha256 | attributes | whodata'.
2023/01/09 05:26:34 ossec-agent: INFO: (6040): Maximum file size limit to generate diff information configured to '51200 KB' for 'c:\temp'.
2023/01/09 05:26:34 ossec-agent: INFO: (6003): Monitoring directory/file: 'c:\windows', with options 'size | permissions | owner | group | mtime | inode | hash_md5 | hash_sha1 | hash_sha256 | attributes | whodata'.
2023/01/09 05:26:34 ossec-agent: INFO: (6040): Maximum file size limit to generate diff information configured to '51200 KB' for 'c:\windows'.
2023/01/09 05:26:34 ossec-agent: INFO: (6003): Monitoring directory/file: 'c:\windows\sysnative', with options 'size | permissions | owner | group | mtime | inode | hash_md5 | hash_sha1 | hash_sha256 | attributes | scheduled'.
2023/01/09 05:26:34 ossec-agent: INFO: Started (pid: 1580).
2023/01/09 05:26:35 ossec-agent: INFO: (6040): Maximum file size limit to generate diff information configured to '51200 KB' for 'c:\windows\sysnative'.
2023/01/09 05:26:35 ossec-agent: INFO: (6003): Monitoring directory/file: 'c:\windows\sysnative\drivers\etc', with options 'size | permissions | owner | group | mtime | inode | hash_md5 | hash_sha1 | hash_sha256 | attributes | scheduled'.
2023/01/09 05:26:35 ossec-agent: INFO: (6040): Maximum file size limit to generate diff information configured to '51200 KB' for 'c:\windows\sysnative\drivers\etc'.
2023/01/09 05:26:35 ossec-agent: INFO: (6003): Monitoring directory/file: 'c:\windows\sysnative\wbem', with options 'size | permissions | owner | group | mtime | inode | hash_md5 | hash_sha1 | hash_sha256 | attributes | scheduled'.
2023/01/09 05:26:35 ossec-agent: INFO: (6040): Maximum file size limit to generate diff information configured to '51200 KB' for 'c:\windows\sysnative\wbem'.
2023/01/09 05:26:35 ossec-agent: INFO: (6003): Monitoring directory/file: 'c:\windows\sysnative\windowspowershell\v1.0', with options 'size | permissions | owner | group | mtime | inode | hash_md5 | hash_sha1 | hash_sha256 | attributes | scheduled'.
2023/01/09 05:26:35 ossec-agent: INFO: (6040): Maximum file size limit to generate diff information configured to '51200 KB' for 'c:\windows\sysnative\windowspowershell\v1.0'.
2023/01/09 05:26:35 ossec-agent: INFO: (6003): Monitoring directory/file: 'c:\windows\system32', with options 'size | permissions | owner | group | mtime | inode | hash_md5 | hash_sha1 | hash_sha256 | attributes | scheduled'.
2023/01/09 05:26:35 ossec-agent: INFO: (6040): Maximum file size limit to generate diff information configured to '51200 KB' for 'c:\windows\system32'.
2023/01/09 05:26:35 ossec-agent: INFO: (6003): Monitoring directory/file: 'c:\windows\system32\drivers\etc', with options 'size | permissions | owner | group | mtime | inode | hash_md5 | hash_sha1 | hash_sha256 | attributes | scheduled'.
2023/01/09 05:26:35 ossec-agent: INFO: (6040): Maximum file size limit to generate diff information configured to '51200 KB' for 'c:\windows\system32\drivers\etc'.
2023/01/09 05:26:35 ossec-agent: INFO: (6003): Monitoring directory/file: 'c:\windows\system32\wbem', with options 'size | permissions | owner | group | mtime | inode | hash_md5 | hash_sha1 | hash_sha256 | attributes | scheduled'.
2023/01/09 05:26:35 ossec-agent: INFO: (6040): Maximum file size limit to generate diff information configured to '51200 KB' for 'c:\windows\system32\wbem'.
2023/01/09 05:26:35 ossec-agent: INFO: (6003): Monitoring directory/file: 'c:\windows\system32\windowspowershell\v1.0', with options 'size | permissions | owner | group | mtime | inode | hash_md5 | hash_sha1 | hash_sha256 | attributes | scheduled'.
2023/01/09 05:26:35 ossec-agent: INFO: (6040): Maximum file size limit to generate diff information configured to '51200 KB' for 'c:\windows\system32\windowspowershell\v1.0'.
2023/01/09 05:26:35 ossec-agent: INFO: (6041): Maximum disk quota size limit configured to '1048576 KB'.
Please help to resolve this issue.