Hello,
This seems like it should be very simple. I want to know when my linux vms are running low on memory. I've installed a hyperic agent on each vm. If the vm has a total of 4GB of RAM, I create an alert to send an email when the vm has less than 1GB of RAM available.
It looks like hyperic is sending out an alert without taking into account buffers/cache. so, as an example, if I do free -m:
total used free shared buffers cached
Mem: 4953 4412 541 0 230 1215
-/+ buffers/cache: 2966 1987
Swap: 4063 0 4063
It is sending out an alert, even though there are 1967M of free ram. At least I think that's what's happening.
How does hyperic calculate free memory?
Thanks,