Hi W
isarut The issue you're facing is directly related to the server's limitations, it's ingesting more EPS than it can manage. The events_dropped variable indicates that events are being dropped due to insufficient resources. As you mentioned, you have 110 agents, and more network devices are all connected to a single manager. In this case, I suggest adding another Wazuh worker node and using a load balancer, instead of increasing the RAM and CPU in the current environment.
A single-manager architecture is not designed to handle such a high volume of events, so it's necessary to distribute the workload across multiple nodes. As
Wazuh easily scales horizontally rather than vertically, we recommend adding a new node when you see drops in the events
https://documentation.wazuh.com/current/user-manual/wazuh-server-cluster/adding-new-server-nodes/index.html and configure failover mode or use a load balancer to point agents to the Wazuh server cluster accordingly.
https://documentation.wazuh.com/current/user-manual/wazuh-server-cluster/agent-connections.html Keep in mind that each Wazuh manager node with 16GB of RAM and 8 CPUs can handle around 5000 EPS. When scaling the architecture, this should be taken into account.
Worker nodes can handle a higher load since they don't perform tasks related to the API or cluster synchronization that the master node handles.
To determine if a Wazuh server requires more resources, monitor these files:
/var/ossec/var/run/wazuh-analysisd.state: the variable events_dropped indicates whether events are being dropped due to a lack of resources.
/var/ossec/var/run/wazuh-remoted.state: the variable discarded_count indicates if messages from the agents were discarded.
Reference:
https://documentation.wazuh.com/current/user-manual/reference/statistics-files/index.htmlIn case you want to check the number of eps and event drops, you can monitor the output of these two commands
GET /manager/daemons/stats?daemons_list=wazuh-analysisd
GET /manager/daemons/stats?daemons_list=wazuh-remoted
Let me know if you need any further revisions