Hi! Thanks for posting in the community!!
The /var/ossec/queue/db/ directory contains databases with information for different agents. It can use too much space because there are some dangling agents which are not connected anymore but their databases are left behind.
We recommend removing those old agents if that’s the case. You can do this using the API Console:
On your dashboard, click on Wazuh drop-down menu, select Tools, and the API Console.
Enter the following request and execute:
DELETE /agents?status=disconnected,never_connected&agents_list=all&older_than=30dThis request will delete all the agents which have been disconnected or never connected for more than 30 days and their databases also. You can change the age if needed.
I hope this helps. Let me know if you have any specific questions or if there is anything else I can do to help.
Regards,
Guido