Quantcast
Channel: VMware Communities : Popular Discussions - Hyperic User Forums
Viewing all articles
Browse latest Browse all 52618

How to monitor and generate alerts when memory is low on linux vms?

$
0
0

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,

 

 


Viewing all articles
Browse latest Browse all 52618

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>