DevHeads.net

semi-OT:apcupsd

I can't seem to find apcupsd for C 6. Just went to epel's website, and not
visible. Anyone have a clue?

mark

Comments

Re: semi-OT:apcupsd

By Walter H. at 11/17/2017 - 14:52

On 17.11.2017 16:16, <a href="mailto:m.roth@5-cent.us">m.roth@5-cent.us</a> wrote:

Re: semi-OT:apcupsd

By John R Pierce at 11/17/2017 - 13:43

On 11/17/2017 7:16 AM, <a href="mailto:m.roth@5-cent.us">m.roth@5-cent.us</a> wrote:
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... <a href="http://networkupstools.org/" title="http://networkupstools.org/">http://networkupstools.org/</a>

nut is in EPEL

Re: semi-OT:apcupsd

By m.roth at 11/17/2017 - 13:46

John R Pierce wrote:
mark

Re: semi-OT:apcupsd

By Gordon Messmer at 11/17/2017 - 19:05

On 11/17/2017 09:46 AM, <a href="mailto:m.roth@5-cent.us">m.roth@5-cent.us</a> wrote:

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.

Re: semi-OT:apcupsd

By Valeri Galtsev at 11/17/2017 - 14:49

On Fri, November 17, 2017 11:46 am, <a href="mailto:m.roth@5-cent.us">m.roth@5-cent.us</a> wrote:
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
++++++++++++++++++++++++++++++++++++++++

Re: semi-OT:apcupsd

By Tru Huynh at 11/17/2017 - 12:02

On Fri, Nov 17, 2017 at 10:16:57AM -0500, <a href="mailto:m.roth@5-cent.us">m.roth@5-cent.us</a> wrote:
<a href="https://src.fedoraproject.org/rpms/apcupsd/c/f8647fbf651abc066281e2966832b441d1935590" title="https://src.fedoraproject.org/rpms/apcupsd/c/f8647fbf651abc066281e2966832b441d1935590">https://src.fedoraproject.org/rpms/apcupsd/c/f8647fbf651abc066281e296683...</a>
...
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

Re: semi-OT:apcupsd

By wwp at 11/17/2017 - 12:21

Hello,

Phew! I must have got lucky when I installed it, few weeks/months ago:
apcupsd-3.14.14-5.el7.x86_64

Regards,

Re: semi-OT:apcupsd

By Digimer at 11/17/2017 - 11:34

On 2017-11-17 10:16 AM, <a href="mailto:m.roth@5-cent.us">m.roth@5-cent.us</a> wrote:
I can't speak to epel, but we have copies of it if that helps you;

<a href="https://alteeve.com/files/apcupsd/" title="https://alteeve.com/files/apcupsd/">https://alteeve.com/files/apcupsd/</a>

Re: semi-OT:apcupsd

By wwp at 11/17/2017 - 12:23

Hello,

The (S)RPMs are also easy to find for CentOS 7, for instance at
pkgs.org:
<a href="https://pkgs.org/download/apcupsd" title="https://pkgs.org/download/apcupsd">https://pkgs.org/download/apcupsd</a>

Regards,

Re: semi-OT:apcupsd

By m.roth at 11/17/2017 - 12:36

wwp wrote:
mark

Re: semi-OT:apcupsd

By Leon Fauster at 11/17/2017 - 15:07

Rebuilt it:

<a href="https://kojipkgs.fedoraproject.org//packages/apcupsd/3.14.14/5.el7/src/apcupsd-3.14.14-5.el7.src.rpm" title="https://kojipkgs.fedoraproject.org//packages/apcupsd/3.14.14/5.el7/src/apcupsd-3.14.14-5.el7.src.rpm">https://kojipkgs.fedoraproject.org//packages/apcupsd/3.14.14/5.el7/src/a...</a>

Re: semi-OT:apcupsd

By Valeri Galtsev at 11/17/2017 - 16:22

On Fri, November 17, 2017 1:07 pm, Leon Fauster wrote:
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
++++++++++++++++++++++++++++++++++++++++

Re: semi-OT:apcupsd

By Leon Fauster at 11/18/2017 - 12:46

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.

Re: semi-OT:apcupsd

By wwp at 11/17/2017 - 12:54

Hello,

Oh, sorry! In fact you said it, C6.

The packages are available from the PUIAS repo (see
<a href="https://pkgs.org/download/apcupsd" title="https://pkgs.org/download/apcupsd">https://pkgs.org/download/apcupsd</a>, make sure you select CentOS 6 when
you search for apcupsd).

Regards,