Changes

Jump to navigation Jump to search
Added general description text, minor changes and typos
Line 1: Line 1:  
==Installation of Latest Version==
 
==Installation of Latest Version==
The latest version of ''apcupsd'' is 3.14.8-1 and is available from sourceforge in two rpms - one for the ups daemon and one for the web based monitoring scripts. Neither of these install exactly in line with the ''SME way'', and neither does the older version available on DAG.
+
Apcupsd can be used for power management and controlling most of APC's UPS models on Unix and Windows machines. Apcupsd works with most of APC's Smart-UPS models as well as most simple signalling models such a Back-UPS, and BackUPS-Office. 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. Apcupsd is licensed under the GPL version 2.
 +
 
 +
The latest version of ''apcupsd'' is 3.14.8-1 (January 2010) and is available from sourceforge in two rpms - one for the UPS daemon and one for the web based monitoring scripts. Neither of these install exactly in line with the ''SME way'', and neither does the older version available on DAG.
    
These installation instructions make some additional modifications for SME
 
These installation instructions make some additional modifications for SME
Line 26: Line 28:  
  UPSTYPE
 
  UPSTYPE
 
  DEVICE
 
  DEVICE
  BATTEYLEVEL
+
  BATTERYLEVEL
 
  MINUTES
 
  MINUTES
 
  TIMEOUT
 
  TIMEOUT
Line 35: Line 37:  
  /etc/rc.d/rc7.d/S38apcupsd start
 
  /etc/rc.d/rc7.d/S38apcupsd start
   −
===Configure Multimon===
+
===Configure Multimon etc Scripts===
 
The apcupsd-multimon rpm contains four cgi scripts that can be run via the webserver to monitor the UPS(s). The rpm does not install them correctly for SME however so the following modifications are needed.
 
The apcupsd-multimon rpm contains four cgi scripts that can be run via the webserver to monitor the UPS(s). The rpm does not install them correctly for SME however so the following modifications are needed.
 
  mkdir -p /opt/apcupsd
 
  mkdir -p /opt/apcupsd
Line 136: Line 138:  
  sv t httpd-e-smith
 
  sv t httpd-e-smith
   −
Now go to http://yourdomain.tld/apcupsd to see the stats for the UPS at localhost, or https://yourdomain.tld/apcupsd/multimon.cgi for an overview of the UPS(s).
+
===Usage of Multimon etc Scripts===
 +
Now go to http://yourdomain.tld/apcupsd to see the statistics for the UPS at localhost, or https://yourdomain.tld/apcupsd/multimon.cgi for an overview of the UPS(s).
   −
By editing /etc/apcupsd/hosts.conf and adding additional network UPS details, multimon.cgi can be used to momitor more than one UPS. By default only the localhost is monitored.
+
By editing /etc/apcupsd/hosts.conf and adding additional network UPS details, multimon.cgi can be used to monitor more than one UPS. By default only the localhost is monitored.
    
===References===
 
===References===
Line 147: Line 150:  
See [[Uninterruptable_Power_Supply]] for standard SME use of ''Nut'' for UPS monitoring
 
See [[Uninterruptable_Power_Supply]] for standard SME use of ''Nut'' for UPS monitoring
   −
==Original Instructions==
+
See original forum [http://forums.contribs.org/index.php?topic=45923.0 post ]
The following instructions are based on the original forum post http://forums.contribs.org/index.php?topic=45923.0
+
----
 +
===Original Instructions (DAG)===
 +
The following instructions are based on the original forum post http://forums.contribs.org/index.php?topic=45923.0 and the use of an rpm from the DAG repository.
   −
===Setup the DAG repository===
+
====Setup the DAG repository====
    
{{Repository|Dag}}
 
{{Repository|Dag}}
   −
===Installation===
+
====Installation====
 
Install ''apcupsd''
 
Install ''apcupsd''
 
  yum install --enablerepo=dag --enablerepo=base apcupsd
 
  yum install --enablerepo=dag --enablerepo=base apcupsd
Line 170: Line 175:  
  config set apcupsd service status enabled
 
  config set apcupsd service status enabled
   −
===Configuration===
+
====Configuration====
 
Edit /etc/apcupsd/apcupsd.conf. The conf file has good detail on setup options.
 
Edit /etc/apcupsd/apcupsd.conf. The conf file has good detail on setup options.
   Line 180: Line 185:  
to start the service.
 
to start the service.
   −
===Usage===
+
====Usage====
 
http://yourdomain.tld/cgi-bin/multimon.cgi  gives a nice look at the UPS status, including a log of past events
 
http://yourdomain.tld/cgi-bin/multimon.cgi  gives a nice look at the UPS status, including a log of past events
  

Navigation menu