Unifix knowledge database - The original one

Dashboard - News - Search - List - About - Admin


APC UPS Deamon for Linux

Author:black - Wed Sep 12 10:49:58 2007

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

Copyright(c) Unifix.org 2002-2011


Dashboard - News - Search - List - About - Admin
 
Powered by Mikjaer Consulting Solutions - Hosted by Specialhosting.dk