How to test VM monitoring in vmware ESXi

vmware-esxi

I would really like to test VM monitoring, so if the VM locks up, vmware will restart it. I set the high sensitivity for VM monitoring for one particular virtual machine. I tried to:

1) Turn off vmware tools with /etc/init.d/…
2) Kill the vmware tools process
3) Run a fork bomb

The restart of the VM was not initiated at all. In the summary tab I have Vmware tools not running, but no action is made. Why? (it's vmware esxi with vcenter)

Best Answer

I discussed the problem with vmware, and we spent a lot of time for gathering logs and analysing them. Actually, they told me I found a bug in vCenter. When you set VM Monitoring specific setting for the VM to High, the VM Monitoring will be not configured at all. You have to set it to Use Cluster Setting, then Ok, then open the Vmware HA options again and choose High. Now VM Monitoring works like a charm. I hope it will be fixed, I cannot believe I was the only one with this problem.