Question

How to exclude cached/buffered RAM from "used RAM" do-agent monitoring?

Hi guys. Does anyone know how to exlude cached/buffered bytes from “memory utilization” monitoring stats? We do have a condition to warn us if the memory utilization is above 90% for 10 minutes, but we get this notification even if there is most of ram available. It looks like do-agent sums used ram and cached/buffered numbers and returns that sum as a “used ram”. Thanks

Subscribe
Share

I’d like to know if this is possible. Currently our droplet is using 11% of “real” RAM but we constantly receive that notification due to cache taking us above the 90% threshold


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hello,

With the new monitoring agent, this should work as expected, as cached memory is available on demand it is not considered to be in use.

Here’s a step by step guide from the official documentation on how to upgrade your monitoring agent:

https://www.digitalocean.com/docs/monitoring/how-to/upgrade-legacy-agent/

Regards, Bobby