Hi Javier,
after enabling wazuh_modules.debug=2
using
cat /var/ossec/logs/ossec.log | grep -iE "error|warn|crit|fatal" i get a LOT of output, but the "interesting" one is probably:
2025/10/01 10:16:13 indexer-connector[13956] indexerConnector.cpp:847 at operator()(): WARNING: IndexerConnector initialization failed for index 'wazuh-states-inventory-processes-wazuh-server', retrying until the connection is successful.
2025/10/01 10:16:14 indexer-connector[13956] indexerConnector.cpp:847 at operator()(): WARNING: IndexerConnector initialization failed for index 'wazuh-states-inventory-ports-wazuh-server', retrying until the connection is successful.
2025/10/01 10:16:14 indexer-connector[13956] indexerConnector.cpp:847 at operator()(): WARNING: IndexerConnector initialization failed for index 'wazuh-states-inventory-hotfixes-wazuh-server', retrying until the connection is successful.
2025/10/01 10:16:15 indexer-connector[13956] indexerConnector.cpp:847 at operator()(): WARNING: IndexerConnector initialization failed for index 'wazuh-states-inventory-hardware-wazuh-server', retrying until the connection is successful.
2025/10/01 10:16:15 indexer-connector[13956] indexerConnector.cpp:847 at operator()(): WARNING: IndexerConnector initialization failed for index 'wazuh-states-inventory-protocols-wazuh-server', retrying until the connection is successful.
2025/10/01 10:16:16 indexer-connector[13956] indexerConnector.cpp:847 at operator()(): WARNING: IndexerConnector initialization failed for index 'wazuh-states-inventory-interfaces-wazuh-server', retrying until the connection is successful.
2025/10/01 10:16:16 indexer-connector[13956] indexerConnector.cpp:847 at operator()(): WARNING: IndexerConnector initialization failed for index 'wazuh-states-inventory-networks-wazuh-server', retrying until the connection is successful.
using
cat /var/ossec/logs/ossec.log | grep -iE "error|warn|crit|fatal|IndexerConnector" i get:
2025/10/01 10:21:07 indexer-connector[13956] indexerConnector.cpp:839 at operator()(): DEBUG: Unable to initialize IndexerConnector for index 'wazuh-states-inventory-system-wazuh-server': No available server. Retrying in 60 seconds.
2025/10/01 10:21:15 indexer-connector[13956] indexerConnector.cpp:839 at operator()(): DEBUG: Unable to initialize IndexerConnector for index 'wazuh-states-inventory-processes-wazuh-server': No available server. Retrying in 60 seconds.
2025/10/01 10:21:16 indexer-connector[13956] indexerConnector.cpp:839 at operator()(): DEBUG: Unable to initialize IndexerConnector for index 'wazuh-states-inventory-ports-wazuh-server': No available server. Retrying in 60 seconds.
2025/10/01 10:21:16 indexer-connector[13956] indexerConnector.cpp:839 at operator()(): DEBUG: Unable to initialize IndexerConnector for index 'wazuh-states-inventory-hotfixes-wazuh-server': No available server. Retrying in 60 seconds.
2025/10/01 10:21:17 indexer-connector[13956] indexerConnector.cpp:839 at operator()(): DEBUG: Unable to initialize IndexerConnector for index 'wazuh-states-inventory-hardware-wazuh-server': No available server. Retrying in 60 seconds.
2025/10/01 10:21:17 indexer-connector[13956] indexerConnector.cpp:839 at operator()(): DEBUG: Unable to initialize IndexerConnector for index 'wazuh-states-inventory-protocols-wazuh-server': No available server. Retrying in 60 seconds.
2025/10/01 10:21:18 indexer-connector[13956] indexerConnector.cpp:839 at operator()(): DEBUG: Unable to initialize IndexerConnector for index 'wazuh-states-inventory-interfaces-wazuh-server': No available server. Retrying in 60 seconds.
2025/10/01 10:21:18 indexer-connector[13956] indexerConnector.cpp:839 at operator()(): DEBUG: Unable to initialize IndexerConnector for index 'wazuh-states-inventory-networks-wazuh-server': No available server. Retrying in 60 seconds.
2025/10/01 10:22:06 indexer-connector[13956] indexerConnector.cpp:839 at operator()(): DEBUG: Unable to initialize IndexerConnector for index 'wazuh-states-vulnerabilities-wazuh-server': No available server. Retrying in 60 seconds.
2025/10/01 10:22:06 indexer-connector[13956] indexerConnector.cpp:839 at operator()(): DEBUG: Unable to initialize IndexerConnector for index 'wazuh-states-inventory-packages-wazuh-server': No available server. Retrying in 60 seconds.
and many of these:
2025/10/01 10:24:07 wazuh-modulesd:vulnerability-scanner[13956] scanOrchestrator.hpp:153 at operator()(): DEBUG: AgentReScanListException. Reason: Error executing rescan for multiple agents.
2025/10/01 10:24:07 wazuh-modulesd:vulnerability-scanner[13956] scanAgentList.hpp:243 at handleRequest(): DEBUG: Error executing query to fetch agent data for agents. Reason: DB query not synced.
2025/10/01 10:24:07 wazuh-modulesd:vulnerability-scanner[13956] scanOrchestrator.hpp:153 at operator()(): DEBUG: AgentReScanListException. Reason: Error executing rescan for multiple agents.
2025/10/01 10:24:07 wazuh-modulesd:vulnerability-scanner[13956] scanAgentList.hpp:243 at handleRequest(): DEBUG: Error executing query to fetch agent data for agents. Reason: DB query not synced.
2025/10/01 10:24:07 wazuh-modulesd:vulnerability-scanner[13956] scanOrchestrator.hpp:153 at operator()(): DEBUG: AgentReScanListException. Reason: Error executing rescan for multiple agents.
unfortunately i cant paste the entire output, as i cant redact all the private information that would be exposed.
I'm still curious how this happened after not changing any configuration and updating the wazuh servers.
The "IT Hygiene" was not there before updating and that is the error im getting now.
The same error is shown if I go to inspect an agent in the overview.
The "Inventory" menu that was available when inspecting an agent is gone so I'm assuming that all has now moved to "IT Hygiene" with the update.
A configuration issue is basically impossible as ZERO changes where made before and after the update, assuming wazuh itself has not changed the way it expects configuration with the newest update.
But that contradicts the warning-logs, so i am clueless here.