Thursday, January 27, 2005

Install APC UPS daemon

Apcupsd can be used for power mangement and controlling most of APC's UPS models on Unix and Windows machines. During a power failure, apcupsd will inform the users about the power failure and that a shutdown may occur. If power is not restored, a system shutdown will follow when the battery is exhausted, a timeout (seconds) expires, or runtime expires based on internal APC calculations determined by power consumption rates.
  • Download apcupsd-usb-3.10.16-1.i386.fc3.rpm for Fedora Core 3
  • Install the package using rpm -ivh apcupsd-usb-3.10.16-1.i386.fc3.rpm
  • Modify /etc/apcupsd/apcupsd.conf: DEVICE /dev/hiddev0 (usb connection)
  • Start the daemon by /sbin/apcupsd
  • The log file is at /var/log/apcupsd.events
  • Copy files under cgi directory into apache cgi-bin directory
  • The status can be monitored by upsstats.cgi and multimon.cgi

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home