OpenCSW Bug Tracker


Viewing Issue Advanced Details Jump to Notes ] View Simple ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0005059 [apcupsd] packaging feature always 2013-03-12 15:18 2013-03-14 15:17
Reporter bollar View Status public  
Assigned To dam
Priority normal Resolution fixed Platform
Status closed   OS
Projection none   OS Version
ETA none Product Build
Summary 0005059: Please add --enable-cgi to Configure Options
Description Adding ./config --enable-cgi enables the building of the CGI programs that permit Web browser access to apcupsd data. This is especially interesting in multi-server locations, as all UPS devices can be seen at once.
Steps To Reproduce
Additional Information You may also want to set the following configurations to make more compatible with OpenCSW:

--with-cgi-bin=path
     The with-cgi-bin configuration option allows you to define the directory where the CGI programs will be installed. The default is /etc/apcupsd, which is probably not what you want.
--with-css-dir=path
     This option allows you to specify where you want apcupsd to put the Cascading Style Sheet that goes with the multimoncss.cgi CGI program.
Tags No tags attached.
Attached Files

- Relationships

-  Notes
(0010286)
dam (administrator)
2013-03-13 11:08

Updated packages are available at
  http://buildfarm.opencsw.org/experimental.html#apcupsd [^]
Please let me know if it works so I can push it to unstable.
(0010291)
bollar (reporter)
2013-03-14 04:44

I didn't see the files generated into /etc/apcupsd, or into /opt/csw/apache2/share/cgi-bin -- if these files were installed into another location, I missed them:


multimon.cgi
upsstats.cgi
upsfstats.cgi
upsimage.cgi
(0010292)
dam (administrator)
2013-03-14 12:43
edited on: 2013-03-14 12:45

Indeed they are. Please install CSWapcups-cgi, the cgi scripts are in
  /opt/csw/share/www/apcupsd/cgi
You need to link this to the webserver cgi dir your are using. Same for the css file.

(0010293)
bollar (reporter)
2013-03-14 14:59

Ah!

I have installed and the graphs work as expected. Thanks!
(0010294)
dam (administrator)
2013-03-14 15:17

Pushing 3.14.10,REV=2013.03.13 to unstable/.


Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker