OpenCSW Bug Tracker


Viewing Issue Simple Details Jump to Notes ] View Advanced ] 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  
Status closed  
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.
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/.

- Issue History
Date Modified Username Field Change
2013-03-12 15:18 bollar New Issue
2013-03-13 10:44 dam Status new => assigned
2013-03-13 10:44 dam Assigned To => dam
2013-03-13 11:08 dam Note Added: 0010286
2013-03-13 11:08 dam Status assigned => feedback
2013-03-14 04:44 bollar Note Added: 0010291
2013-03-14 12:43 dam Note Added: 0010292
2013-03-14 12:45 dam Note Edited: 0010292
2013-03-14 14:59 bollar Note Added: 0010293
2013-03-14 15:17 dam Note Added: 0010294
2013-03-14 15:17 dam Status feedback => closed
2013-03-14 15:17 dam Resolution open => fixed


Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker