—
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
wwp wrote:
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.
mark
Hello,
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).
Regards,
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.
mark
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
++++++++++++++++++++++++++++++++++++++++
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:
apcupsd.x86_64 3.14.12-1.el6
@epel
Or just build from tarball. Both are the tasks of the same simplicity ;-)
Valeri
++++++++++++++++++++++++++++++++++++++++
Valeri Galtsev Sr System Administrator Department of Astronomy and Astrophysics Kavli Institute for Cosmological Physics University of Chicago Phone: 773-702-4247
++++++++++++++++++++++++++++++++++++++++
A USB-attached UPS like yours should be straightforward in NUT.
Add to /etc/ups/ups.conf:
[apc]
driver = usbhid-ups
port = auto
Set MODE=standalone in /etc/ups/nut.conf.
Set up the monitoring user according to the docs.
Done.
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.
15 thoughts on - Semi-OT:apcupsd
I can’t speak to epel, but we have copies of it if that helps you;
https://alteeve.com/files/apcupsd/
—
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
https://src.fedoraproject.org/rpms/apcupsd/c/f8647fbf651abc066281e2966832b441d1935590
…
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.
Tru
Hello,
Phew! I must have got lucky when I installed it, few weeks/months ago:
apcupsd-3.14.14-5.el7.x86_64
Regards,
Hello,
The (S)RPMs are also easy to find for CentOS 7, for instance at pkgs.org:
https://pkgs.org/download/apcupsd
Regards,
wwp wrote:
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.
mark
Hello,
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).
Regards,
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.
mark
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
++++++++++++++++++++++++++++++++++++++++
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:
apcupsd.x86_64 3.14.12-1.el6
@epel
Rebuilt it:
https://kojipkgs.fedoraproject.org//packages/apcupsd/3.14.14/5.el7/src/apcupsd-3.14.14-5.el7.src.rpm
Or just build from tarball. Both are the tasks of the same simplicity ;-)
Valeri
++++++++++++++++++++++++++++++++++++++++
Valeri Galtsev Sr System Administrator Department of Astronomy and Astrophysics Kavli Institute for Cosmological Physics University of Chicago Phone: 773-702-4247
++++++++++++++++++++++++++++++++++++++++
A USB-attached UPS like yours should be straightforward in NUT.
Add to /etc/ups/ups.conf:
[apc]
driver = usbhid-ups
port = auto
Set MODE=standalone in /etc/ups/nut.conf.
Set up the monitoring user according to the docs.
Done.
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.