Monitor APC smart-UPS with apcupsd

apcupsd is a daemon which will monitor your APC SmartUPS to shutdown your system when the UPS' power is going to fail. apcupsd will work with most of APC's Smart-UPS models as well as most simple signalling models such a Back-UPS, and BackUPS-Office.

  1. install the daemon:
    apt-get install apcupsd
  2. edit /etc/apcupsd/apcupsd.conf and change these lines
    1. UPSNAME myownups
    2. UPSCABLE usb
    3. UPSTYPE usb
    4. comment out DEVICE (it contains a TTY link, which will prevent it from working)
  3. edit /etc/default/apcupsd
    1. change ISCONFIGURED from no to yes
  4. start apcupsd daemon
    /etc/init.d/apcupsd start
  5. check ups status
    apcaccess status
  6. install APCUPSD-CGI web interface: 
    apt-get install apcupsd-cgi
    Note: For this to work you MUST have CGI enabled in your Apache configuration and the CGI directory should be pointed at /usr/lib/cgi-bin/
  7. access the web address: http://localhost/cgi-bin/apcupsd/multimon.cgi

Leave a Reply

Your email address will not be published. Required fields are marked *