I can’t seem to find apcupsd for C 6. Just went to epel’s website, and not visible. Anyone have a clue?
I can’t speak to epel, but we have copies of it if that helps you;
Digimer Papers and Projects: https://alteeve.com/w/
“I am, somehow, less interested in the weight and convolutions of Einstein’s brain than in the near certainty that people of equal talent have lived and died in cotton fields and sweatshops.” – Stephen Jay Gould
2016-10-19: Retired orphaned package, because it was orphaned for more than six weeks.
I guess that no one volonteer to take ownership of the package… It’s still listed for EL7 so you can probably rebuild it.
Phew! I must have got lucky when I installed it, few weeks/months ago:
The (S)RPMs are also easy to find for CentOS 7, for instance at pkgs.org:
Sorry, I should have said I need it for C 6. I’ve tried install 3-14.14, and it wants a newer glibc than C6 offers.
Oh, sorry! In fact you said it, C6.
The packages are available from the PUIAS repo (see https://pkgs.org/download/apcupsd, make sure you select CentOS 6 when you search for apcupsd).
suggestion, use NUT instead, the Network UPS Tools…. works for all sorts of UPS’s, not just APC, and supports a master/slave sort of network control of power management. here’s the project site for an overview… http://networkupstools.org/
nut is in EPEL
john r pierce, recycling bits in santa cruz
John R Pierce wrote:
documentation, how to set up almost all of what we have: APC rackmount UPSes with APC’s weired RJ-45-toUSB cable. APCUPSd made that very easy, and was, in fact, the default configuration.
I was using apcupsd for over decade until after we moved to the server room with central UPSes. I always was installing that “UNIX” way: by downloading tarball and compiling it.
I hope, this helps.
Valeri Galtsev Sr System Administrator Department of Astronomy and Astrophysics Kavli Institute for Cosmological Physics University of Chicago Phone: 773-702-4247
yum list | grep apcupsd shows this:
Or just build from tarball. Both are the tasks of the same simplicity ;-)
A USB-attached UPS like yours should be straightforward in NUT.
Add to /etc/ups/ups.conf:
driver = usbhid-ups
port = auto
Set MODE=standalone in /etc/ups/nut.conf.
Set up the monitoring user according to the docs.
I am running apcupsd on CentOS 6.9, monitoring through the network a common UPS that is physically connected to another server via USB.
Just download the latest source code and compile it yourself. It’s as easy as
./configure make make install
No problems whatsoever.
The difference or the “rpmbuild” work that have to be done, is to substitute the systemd start script (EL7) with the init script (EL6). You can find that script in the tar archive itself.