PowerChute for VMware ESX4

Solution 1:

ghettoUPSHostShutdown.pl

You need apcupsd to monitor the UPS, VMware vMA 4.0 (apcupsd and perl script run on this VM), and licensed ESXi.