Hello there,
so apparently I forgot to disable auto-updates on my wazuh-machines and now have 4.13.
Well, I was on vacation for 4 weeks and am now back to seeing "
System inventory could be disabled or has a problem" whenever viewing the inventory of an agent.
I use three seperate servers (one for dashboard, one for indexer, one for manager/server)
I have already checked:
- Certs on wazuh-server are all good (valid till 2034).
- Cluster health: YELLOW (already have deleted older indexes and moved the retention policy from 90d to 60d)
- configuration of ossec.conf (everything in order there)
Using the following command:
curl -u admin:PASSWORD --cacert /etc/filebeat/certs/root-ca.pem --cert /etc/filebeat/certs/wazuh-server.pem --key /etc/filebeat/certs/wazuh-server-key.pem -X GET "https://INDEXER_IP/_cluster/health?pretty" i got:
{
"cluster_name" : "wazuh-indexer-cluster",
"status" : "yellow",
"timed_out" : false,
"number_of_nodes" : 1,
"number_of_data_nodes" : 1,
"discovered_master" : true,
"discovered_cluster_manager" : true,
"active_primary_shards" : 321,
"active_shards" : 321,
"relocating_shards" : 0,
"initializing_shards" : 0,
"unassigned_shards" : 32,
"delayed_unassigned_shards" : 0,
"number_of_pending_tasks" : 0,
"number_of_in_flight_fetch" : 0,
"task_max_waiting_in_queue_millis" : 0,
"active_shards_percent_as_number" : 90.93484419263456
}
Viewing the ossec.log using this command:
cat /var/ossec/logs/ossec.log | grep -iE "inventory|indexer|syscollector"
i got:
2025/09/24 00:02:55 wazuh-modulesd:syscollector: INFO: Starting evaluation.
2025/09/24 00:03:06 wazuh-modulesd:syscollector: INFO: Evaluation finished.
2025/09/24 01:03:07 wazuh-modulesd:syscollector: INFO: Starting evaluation.
2025/09/24 01:03:18 wazuh-modulesd:syscollector: INFO: Evaluation finished.
2025/09/24 02:03:18 wazuh-modulesd:syscollector: INFO: Starting evaluation.
2025/09/24 02:03:30 wazuh-modulesd:syscollector: INFO: Evaluation finished.
2025/09/24 03:03:31 wazuh-modulesd:syscollector: INFO: Starting evaluation.
2025/09/24 03:03:43 wazuh-modulesd:syscollector: INFO: Evaluation finished.
2025/09/24 04:03:44 wazuh-modulesd:syscollector: INFO: Starting evaluation.
2025/09/24 04:03:56 wazuh-modulesd:syscollector: INFO: Evaluation finished.
2025/09/24 05:03:57 wazuh-modulesd:syscollector: INFO: Starting evaluation.
2025/09/24 05:04:07 wazuh-modulesd:syscollector: INFO: Evaluation finished.
2025/09/24 05:29:28 wazuh-modulesd:syscollector: INFO: Stop received for Syscollector.
2025/09/24 05:29:28 wazuh-modulesd:syscollector: INFO: Module finished.
2025/09/24 05:29:32 indexer-connector: WARNING: Failed to sync agent '002' with the indexer.
[...] basically every agent listed here
2025/09/24 05:29:32 indexer-connector: WARNING: Failed to sync agent '040' with the indexer.
2025/09/24 05:29:32 wazuh-modulesd:inventory-harvester: INFO: Stopping inventory_harvester module.
2025/09/24 07:30:03 wazuh-modulesd:inventory-harvester: INFO: Loaded Inventory harvester module.
2025/09/24 07:30:13 wazuh-modulesd:inventory-harvester: INFO: Loaded Inventory harvester module.
2025/09/24 07:30:13 wazuh-modulesd:inventory-harvester: INFO: Starting inventory_harvester module.
2025/09/24 07:30:14 wazuh-modulesd:syscollector: INFO: Module started.
2025/09/24 07:30:14 wazuh-modulesd:syscollector: INFO: Starting evaluation.
2025/09/24 07:30:14 wazuh-modulesd:syscollector: INFO: Evaluation finished.
2025/09/24 07:30:14 indexer-connector: WARNING: IndexerConnector initialization failed for index 'wazuh-states-inventor-packages-wazuh-server', retrying until the connection is successful.
2025/09/24 07:30:15 indexer-connector: WARNING: IndexerConnector initialization failed for index 'wazuh-states-inventor-system-wazuh-server', retrying until the connection is successful.
2025/09/24 07:30:20 indexer-connector: WARNING: IndexerConnector initialization failed for index 'wazuh-states-inventor-processes-wazuh-server', retrying until the connection is successful.
2025/09/24 07:30:21 indexer-connector: WARNING: IndexerConnector initialization failed for index 'wazuh-states-inventor-ports-wazuh-server', retrying until the connection is successful.
2025/09/24 07:30:22 indexer-connector: WARNING: IndexerConnector initialization failed for index 'wazuh-states-inventor-hotfixes-wazuh-server', retrying until the connection is successful.
2025/09/24 07:30:22 indexer-connector: WARNING: IndexerConnector initialization failed for index 'wazuh-states-inventor-hardware-wazuh-server', retrying until the connection is successful.
2025/09/24 07:30:23 indexer-connector: WARNING: IndexerConnector initialization failed for index 'wazuh-states-inventor-protocols-wazuh-server', retrying until the connection is successful.
2025/09/24 07:30:24 indexer-connector: WARNING: IndexerConnector initialization failed for index 'wazuh-states-inventor-interfaces-wazuh-server', retrying until the connection is successful.
2025/09/24 07:30:24 indexer-connector: WARNING: IndexerConnector initialization failed for index 'wazuh-states-inventor-networks-wazuh-server', retrying until the connection is successful.
2025/09/24 07:30:24 logger-helper: INFO: InventoryHarvesterFacade module started.
2025/09/24 07:31:30 indexer-connector: WARNING: IndexerConnector initialization failed for index 'wazuh-states-vulnerabilities-wazuh-server', retrying until the connection is successful.
So here i am now, back from vacation with zero clue what's wrong. I know nobody of my colleagues worked with wazuh in the meantime.
I appreciate any help!