Translation(s): none


apcupsd provides UPS power management for APC product

Installation

First connect the cable to the server.

To see if your ups is recognized, use the command:

  $ lsusb
  Bus 001 Device 002: ID 051d:0002 American Power Conversion Back-UPS Pro 500/1000/1500

Daemon

The daemon controls and monitors the status of UPS and allows your computer to run for a specified length of time on UPS power, and then executes a controlled shutdown in the case of an extended power failure.

To install daemon and documentation, run :

 # apt-get install apcupsd apcupsd-doc

Before starting the daemon, you must at minimum configure /etc/apcupsd/apcupsd.conf and /etc/default/apcupsd.

In /etc/apcupsd/apcupsd.conf, you must specify the type of UPS :

UPSCABLE : the type of cable connecting the UPS to your computer.
UPSTYPE : the type of UPS you have (USB, RS232,…)
DEVICE : it depend of UPSTYPE

and in /etc/default/apcupsd, you indicate that the configuration is done.

ISCONFIGURED=yes

Well. Now you can start the daemon with the command:

# service apcupsd start

The log file /var/log/apcupsd.events say if the daemon has started correcly.

Web Interface

TO_DO

See also


CategoryHardware