Virtual machines residing on a cluster frequently trigger the Virtual machine memory usage warning alert. The alert status fluctuates between Green and Yellow (and back to Green) over short intervals.
Sample of default Alarm Definition:
Sample of agressive Alarm Definition:
VMware vSphere ESXi
VMware vCenter Server
This behavior typically occurs due to one of the following:
To validate and resolve the frequent alarms, perform the following checks:
Connect to the ESXi host where the affected VM is residing via SSH and execute the following commands to gather physical memory metrics:
Command 1: Evaluate VM Resource Allocation Review this command before running it.
(touched / memSize * 100).Command 2: Evaluate Guest Memory Activity Review this command before running it
pageInRate value in this output.If the metrics show high activity but no performance impact, or if the current alarm definition is set too low for the environment's baseline: