Monitor apc ups on esxi vmware?


I have this esxi 5.5 with some vm s on it. I also have an ups (apc). The ups has software to install on windows machines in order to monitor the ups and bring machines down if ups goes active for some time. I don t have any physical machines. How can I still monitor this ups?

Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
If the UPS has a USB port, you can use USB Passthrough to monitor the UPS using APC PowerChute software.

pass the APC USB via passthrough to the VM using USB.

see my EE Article

HOW TO: Add and Connect a USB Device to a Virtual Machine, hosted on VMware vSphere Hypervisor ESX 4.1 ESXi 4.1, ESXi 5.0

BUT the correct method with VMware vSphere Hypervisor (ESXi)  is to use the APC PowerChute® Network Shutdown, and a Smart-UPS with Network Management card, which is implemented using the vMA.

APC have now released the software - PowerChute® Network Shutdown for free, it's here

Download and see here

Installing the APC Powerchute Network Shutdown software on VMware ESXi hosts (1007036)
janhoedtAuthor Commented:
Thanks! This is the type of ups: APC BK650-EI Back UPS CS 650.
What would you advise?
I could spend some euro s but it s only my lab environment so not that critical to really invest.
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
This is a USB model, so would have to connect to a VM, via USB, and then create a script in the VM, to shutdown the VMs on the Host.
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

You must check if ESXi catches power button signal via USB. If yes you need to set VM startup order to power them off politely when that signal arrives.
janhoedtAuthor Commented:
> You must check if ESXi catches power button signal via USB.
Thanks. And how would I do that?
Connect it to nonessential ESXi and wait for battery to discharge
janhoedtAuthor Commented:
Battery discharge? You mean switch to ups?
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
ESXi will not be able to detect anything from your UPS!

ESXi has no software that interfaces to a UPS.

You will have to connect a VM to your UPS via USB, use Powerchute to detect events, and then use Powerchute to run External Scripts.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
UPS presses power button on USB multimedia keyboard.
That would shut down windows 95+ without any drivers.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.