We have just installed server room monitoring equipment. If the termperature is raised in the server to a certain level this equipment will send out emails and text messages, should the temperature still increase I want it to be able to shut down the VM's and ESXi environment.
It has software to connect to windows hosts so I could shut the VMs down that way but I will still have a problem with shutting down the ESXi environment.
The other way I was thinking was to connecting to VMA, send commands to shut down the vms and then send a command to shut down the ESXi boxes.