APC UPS Deamon for Linux

how to install APC UPS CS500 on linux

Install APCUPS Deamon:
Debian:
# apt-get install apcupsd
Gentoo:
emerge -av apcupsd

Edit /etc/apcupsd/apcupsd.conf:

1: If running on USB, set UPSTYPE to usb (default is apcsmart)
2: If running on USB, set DEVICE to noting, if RS-232, set the serial device in stead.
3: If running a slave deamon, connecting to another host, which has the connection to the UPS, set DEVICE to net and DEVICE to hostname:port (default port is 3551)
4: If running a master deamon, which other hosts need to connect to, change NISIP to 0.0.0.0 or appropriate subnet address.

Edit /etc/default/apcupsd, set ISCONFIGURED=yes

Plug in the UPS Cable.

Fire up the deamon:
# /etc/init.d/apcupsd start

Dette indlæg blev udgivet i Knowledge Base, Linux, Old Base. Bogmærk permalinket.

Skriv et svar