Semi-OT:apcupsd

Home » CentOS » Semi-OT:apcupsd
CentOS 15 Comments

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

mark

15 thoughts on - Semi-OT:apcupsd

  • Hello,

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

    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

  • 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
    ++++++++++++++++++++++++++++++++++++++++

  • 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.