VMware Cloud Community
Ritmo2k
Enthusiast
Enthusiast

Anyone configured apcupsd inside of esx before?

Anyone done this successfully and care to share some notes?

Thanks!

0 Kudos
5 Replies
OttoleR
Contributor
Contributor

Done it recently, works like a charm.

Post here if you still want feedback.

Ritmo2k
Enthusiast
Enthusiast

Sweet!

I am a noob with Linux, and don't really know my way around it worth a darn!

I have read the apcupsd website and I believe I know what settings I need for my ups in terms of communication, but I don't really know what to do 😛

Did you get those cgi files running so you cold monitor it? Could you post your config and some general instructions?

Thanks!

0 Kudos
Ritmo2k
Enthusiast
Enthusiast

I don't seem to have communication, I am using a USB cable with a dumb ups. The apcupsd.conf is correct, but according to the manual, there is a driver issue.

Can you share some installation notes? I used the rpm...

thanks!

0 Kudos
TiBoReR
Enthusiast
Enthusiast

Exact same problem here.

Here what i found in the manual:

Known Linux USB Issues

Problem

Linux 2.4 series kernels older than 2.4.22 (RH 9, RHEL 3) do

not bind the USB device to the proper driver. This is evidenced

by /proc/bus/usb/devices listing the UPS correctly but it will have

\driver=(none)" instead of \driver=(hid)". This a

ects RHEL3,

among others.

Workaround

Upgrade linux kernel to 2.4.22 or higher. Alternately, you apply

the linux-2.4.20-killpower.patch and linux-2.4.20-USB-reject.patch

patches to your kernel and rebuild it. These patches can be found in

the examples/ directory in the apcupsd source distribution.

So I use the Serial Port instead and it is working.

0 Kudos
infocentric
Contributor
Contributor

I was able to get this working in ESX 3.5 pretty easily (note I had tested my setup on a standalone box previously so my apcupsd.conf was already tested out).

Installed apcupsd-3.14.4 rpm file.

Ran the following commands to open up firewall ports

esxcfg-firewall -o 3052,udp,in,apcupsd

esxcfg-firewall -o 3551,tcp,in,apcupsd

Edit your apcupsd.conf file to your local settings.

/etc/init.d/apcupsd to start the daemon.

If your setup is working you can make the daemon start on startup with

/sbin/chkconfig apcupsd on

Hope that helps someone out!

thx Scott

0 Kudos