How to Configure Eaton Ellipse ASR UPS with CentOS 5

Here's a quick post showing how to configure and setup an Eaton Ellipse ASR 1500 UPS with CentOS 5 using NUT in about 5 minutes flat!

Firstly install NUT. To do that we'll need to install Fedora EPEL.

# rpm -Uvh

Then we install NUT.

# yum install nut
# chkconfig ups on

Add the following to /etc/ups/ups.conf.

    driver = usbhid-ups
    port = auto
    desc = "Eaton Ellipse ASR 1500"

Add a UPS user to /etc/ups/upsd.users. Please change your password to something sensible.

            password = mypassword
            allowfrom = localhost
            upsmon master

Add the following line to /etc/ups/upsmon.conf.

MONITOR eaton@localhost 1 upsmon mypassword master

Plug your UPS in via USB cable and reboot.

# reboot

After the machine comes back up NUT should be doing its thing to keep your UPS monitored. Run the following to check that your UPS is found.

# upsc eaton@localhost

You should get back a whole bunch of stuff indicating that your UPS is good. And Nut is doing its thing:

battery.charge: 100
battery.charge.low: 30
battery.runtime: 7625
battery.type: PbAc usbhid-ups
driver.parameter.pollinterval: 2
driver.parameter.port: auto
driver.version: 2.2.0- MGE HID 1.0
driver.version.internal: 0.30
input.transfer.high: 264.0
input.transfer.low: 184.0
outlet.0.desc: Main Outlet 1
outlet.0.switchable: no
outlet.1.desc: PowerShare Outlet 1 2
outlet.1.status: on
outlet.1.switchable: no
output.voltage: 230.0
ups.beeper.status: enabled
ups.delay.shutdown: -1
ups.delay.start: -10
ups.load: 3
ups.mfr: EATON
ups.model: Ellipse 1500
ups.power.nominal: 1500
ups.productid: ffff
ups.serial: 000000000
ups.status: OL CHRG
ups.vendorid: 0463

If you want to test what happens in the event of a powerfail and low battery event then run the following. NB. this will shutdown the server:

# upsmon -c fsd

If all of the above worked, then you are done!

Happy computing!

— Andrew

Next entry

Previous entry

Similar entries


No comments yet.


Pingbacks are open.

Post your comment

Site theme originally by