Projekt

Allgemein

Profil

Aktionen

Setup apcupsd » Historie » Revision 2

« Zurück | Revision 2/3 (Vergleich) | Weiter »
Jeremias Keihsler, 12.01.2017 09:34


Install apcupsd

Requirements

To install apcupsd you will need the following: * a installed and supported operating system (e.g. CentOS 6.x) * root-access * a fast internet connection

Preliminary Note

using USB connection instead of the default RS232
This setup works with:

MODEL FIRMWARE SERIALNO system
Smart-UPS 1000 COM 02.1 / UPS.05.I AS1116113737 H02
Smart-UPS 1000 652.19.I USB FW:11. US1225102784 12005
Smart-UPS 750 UPS 08.3 / ID=18 AS1222222311 11015

Install

yum install apcupsd

Configure apcupsd

vim /etc/apcupsd/apcupsd.conf
UPSCABLE usb

UPSTYPE usb
DEVICE

BATTERYLEVEL 50

MINUTES 15

TIMEOUT 360

KILLDELAY 5

WAKEUP 60

Start apcupsd

manually start apcupsd:

/etc/init.d/apcupsd start

automatically start the service at boot time:

/sbin/service apcupsd on

you can check the runlevels by

/sbin/chkconfig --list apcupsd

you should get an output like:
apcupsd     0:off   1:off   2:off   3:on   4:off   5:on   6:off

Usage

/etc/init.d/apcupsd status

Test

  • connect server to "permanent" power supply
  • connect server to UPS via USB-cable
  • test data-reading
  • unplug UPS from supply
  • you should get "on battery" warning
  • after some time server should initiate shutdown
  • after some more time UPS should kill itself

Von Jeremias Keihsler vor fast 8 Jahren aktualisiert · 2 Revisionen