Hi everyone,
I noticed several things while updating the Windows Wazuh agent that I can't really explain:
1)
Sometimes the Wazuh agent 4.10.1 doesn't install correctly (regardless of whether it's installed via Powershell for unattended installation or via the GUI). The "Manage Agent" program then also won't start. At first, I thought you might have to upgrade from agent version 4.9 for the installation to work properly, but I also encountered errors there.
The only thing that helps to get the installation working is:
-Backup Agent Files
-uninstall agent
-install agent
-restore backup
-start service
2)
We have several agents. So far, I've found two that we updated from version 4.7.4 to version 4.10.1. (vie powershell-command and unattended installation).We noticed the following behavior regarding the log file.
A log is created that doesn't generate a new line for each entry.
So it looks like this:
2025/03/13 00:00:10 wazuh-agent: INFO: Starting new log after rotation. 2025/03/13 00:28:53 wazuh-modulesd:syscollector: INFO: Starting evaluation.2025/03/13 00:28:55 wazuh-modulesd:syscollector: INFO: Evaluation finished. 2025/03/13 01:28:56 wazuh-modulesd:syscollector: INFO: Starting evaluation. 2025/03/13 01:28:59 wazuh-modulesd:syscollector: INFO: Evaluation finished.
Strangely, the problem only occurs when the standard Windows editor opens the log file. Everything works fine with Wordpad.
So I think the problem might be related to the editor settings, but I don't know where.
Does anyone know this problem/phenomenon?
I now have all agents on version 4.10.1, so I don't really need help for this post, but I would like to know if other people have had or have had this experience when installing/updating to version 4.10.1 or if the problem is known.
Thank you for reading and best regards
MaP