cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Pro tip: Reduce OneAgent network monitoring CPU usage

AntonioSousa
DynaMight Guru
DynaMight Guru

The "OneAgent network monitoring" process grabs a lot of useful information about network metrics, including at process level. A lot of other useful metrics and even contributions to network topology are performed.

But there are times where it can take up some CPU. And that typically happens when traffic on the server is huge. The process has a built-in mechanism to not go beyond 5% CPU usage (in https://docs.dynatrace.com/docs/platform-modules/infrastructure-monitoring/networks/how-to-monitor-n...) :

AntonioSousa_0-1707267080467.png

But there are cases where even 2%/3% CPU usage might not be acceptable. That was the case where a server was at 100% CPU usage. In this case, there is an option to exclude certain NICs (or even IPs), by host being monitored. In the Settings of a host, select "Exclude network traffic", and then one of the two options, NIC / IP.

In my case, a server that was having traffic around 4 Gbps, had the main NIC excluded. As can be seen in the "OneAgent network monitoring" CPU usage, the impact was significant. Indeed, the server has two NICs, and one of them is still being monitored:

AntonioSousa_1-1707267413617.png

Once again, you will loose a lot of information by disabling this, but if it's really needed, it's better than stopping the whole network, or even stopping OneAgent.

Antonio Sousa
1 REPLY 1

Mizső
DynaMight Guru
DynaMight Guru

Hi @AntonioSousa,

Thanks for sharing.

Best regards,

Mizső

Dynatrace Community RockStar 2024, Certified Dynatrace Professional

Featured Posts