I've acquired an APC SmartUPS and plugged it into my server that runs Debian 3.1 (sarge). The Powerchute disc that came with it says it has versions for Red Hat, SuSE, TurboLinux, and a couple other distros, but they don't mention Debian. I haven't looked at the contents of the CD yet, but I bet there are some interesting alternatives from other sources than APC. What software would you guys suggest I try with the UPS? I don't have X installed on the server, so command-line is the way to go, but a web interface would be neat! -- Rich
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Richard Klein wrote:
I've acquired an APC SmartUPS and plugged it into my server that runs Debian 3.1 (sarge). The Powerchute disc that came with it says it has versions for Red Hat, SuSE, TurboLinux, and a couple other distros, but they don't mention Debian. I haven't looked at the contents of the CD yet, but I bet there are some interesting alternatives from other sources than APC.
What software would you guys suggest I try with the UPS? I don't have X installed on the server, so command-line is the way to go, but a web interface would be neat!
HI all, I have an APC SmartUPS and I use the apcupsd software. Try this link: http://www.apcupsd.org/ It has a web interface. I can email you a screenshot if you are interested (I didn't want to spam the list with it). HTH, Andy - -- Andy Stewart, Founder Worcester Linux Users' Group Worcester, MA, USA http://www.wlug.org -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org iD8DBQFFDKRaHl0iXDssISsRAsyKAJ9xM6flD/6trMYT+d/5Vlkucb2ESgCfTIjt QIV/PQ3e0NPcnLLTcYZr82c= =5Sv3 -----END PGP SIGNATURE-----
Andy Stewart wrote:
I have an APC SmartUPS and I use the apcupsd software.
Try this link: http://www.apcupsd.org/
It has a web interface. I can email you a screenshot if you are interested (I didn't want to spam the list with it).
I tried 'apt-get install apcupsd' and it worked, installing v3.10.something. I couldn't get apctest to work, though, and the package didn't include the CGI files I wanted, so I removed it and downloaded the src for v3.12.4 (stable). I compiled it, and everything seems to work, but it still didn't create the CGI files. I'm sure I set the ./configure options correctly, so why didn't it create the CGI files? I typed: ./configure --enable-powerflute --enable-cgi --with-cgi-bin=/var/www/web1/cgi-bin --with-css-dir=/var/www/web1/web --enable-usb --enable-pthreads --disable-dumb --enable-test --with-nis-port=3551 --sbindir=/sbin --with-upstype=usb --with-upscable=usb and then: make install Here's config.out: Configuration on Sun Sep 17 12:53:30 EDT 2006: Host: i686-pc-linux-gnu -- debian 3.1 Apcupsd version: 3.12.4 (19 August 2006) Source code location: . Install binaries: /sbin Install config files: /etc/apcupsd Install man files: /usr/share/man Nologin file in: /etc PID directory: /var/run LOG dir (events, status) /var/log LOCK dir (for serial port) /var/lock Power Fail dir /etc/apcupsd Compiler: /usr/bin/g++ 3.3.5 Compiler flags: -g -O2 -Wall Linker flags: -g -O Host and version: debian 3.1 Shutdown Program: /sbin/shutdown Port/Device: /dev/ttyS0 Network Info Port (CGI): 3551 Master/slave Port: 6544 UPSTYPE usb UPSCABLE usb drivers (no-* are disabled): apcsmart no-dumb no-net usb no-snmp test enable-master-slave: no enable-nis: yes with-nisip: 0.0.0.0 enable-cgi: yes with-cgi-bin: /var/www/web1/cgi-bin with-libwrap: enable-nls: no enable-libintl: no enable-powerflute: yes enable-pthreads: yes enable-dist-install: yes That all looks fine, so I don't know where it went wrong. -- Rich
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Richard Klein wrote:
Andy Stewart wrote:
I have an APC SmartUPS and I use the apcupsd software.
Try this link: http://www.apcupsd.org/
It has a web interface. I can email you a screenshot if you are interested (I didn't want to spam the list with it).
I tried 'apt-get install apcupsd' and it worked, installing v3.10.something. I couldn't get apctest to work, though, and the package didn't include the CGI files I wanted, so I removed it and downloaded the src for v3.12.4 (stable). I compiled it, and everything seems to work, but it still didn't create the CGI files. I'm sure I set the ./configure options correctly, so why didn't it create the CGI files?
HI Rich, Are you *sure* it didn't create the CGI files, or did it just put them somewhere that you didn't expect? Here is what I found on my version 3.12.4 of the software: ./src/cgi/multimon.cgi ./src/cgi/upsfstats.cgi ./src/cgi/upsimage.cgi ./src/cgi/upsstats.cgi I would try "make distclean; ./configure ... ; make" again. I wouldn't do the "make install" until you're sure you have everything you want. Later, Andy - -- Andy Stewart, Founder Worcester Linux Users' Group Worcester, MA, USA http://www.wlug.org -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org iD8DBQFFDbpkHl0iXDssISsRAlywAJwO3kmS+XFbF7yOS6oaaEkQObft4gCbBRHO QL1aucSKJDGmYHcj7CUzCAs= =eAQR -----END PGP SIGNATURE-----
Andy Stewart wrote:
HI Rich,
Are you *sure* it didn't create the CGI files, or did it just put them somewhere that you didn't expect?
Here is what I found on my version 3.12.4 of the software: ./src/cgi/multimon.cgi ./src/cgi/upsfstats.cgi ./src/cgi/upsimage.cgi ./src/cgi/upsstats.cgi
I would try "make distclean; ./configure ... ; make" again. I wouldn't do the "make install" until you're sure you have everything you want.
I couldn't find the CGI files with find. So, I tried again, running "make" before trying "make install". Here are the results: http://gs750.richardklein.org/cgi-bin/multimon.cgi -- Rich
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Richard Klein wrote:
Andy Stewart wrote:
HI Rich,
Are you *sure* it didn't create the CGI files, or did it just put them somewhere that you didn't expect?
Here is what I found on my version 3.12.4 of the software: ./src/cgi/multimon.cgi ./src/cgi/upsfstats.cgi ./src/cgi/upsimage.cgi ./src/cgi/upsstats.cgi
I would try "make distclean; ./configure ... ; make" again. I wouldn't do the "make install" until you're sure you have everything you want.
I couldn't find the CGI files with find. So, I tried again, running "make" before trying "make install".
Here are the results: http://gs750.richardklein.org/cgi-bin/multimon.cgi
Yeah, that looks about right! Andy - -- Andy Stewart, Founder Worcester Linux Users' Group Worcester, MA, USA http://www.wlug.org -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org iD8DBQFFDeQ8Hl0iXDssISsRAp02AJ9snVzjIrbz2yB2UQs6hqqbM3XlEwCcD77e 3fxcg6JVS7/3NwA7mlBPOyk= =FZ8X -----END PGP SIGNATURE-----
"NUT" or Network UPS Tool is an open source UPS daemon you can try. http://www.networkupstools.org/ On Sat, Sep 16, 2006 at 09:12:35PM -0400, Richard Klein wrote:
I've acquired an APC SmartUPS and plugged it into my server that runs Debian 3.1 (sarge). The Powerchute disc that came with it says it has versions for Red Hat, SuSE, TurboLinux, and a couple other distros, but they don't mention Debian. I haven't looked at the contents of the CD yet, but I bet there are some interesting alternatives from other sources than APC.
What software would you guys suggest I try with the UPS? I don't have X installed on the server, so command-line is the way to go, but a web interface would be neat!
Thanks Chuck! I have hours invested into apcupsd now, though, and I'm determined to make that work. :) -- Rich Chuck Anderson wrote:
"NUT" or Network UPS Tool is an open source UPS daemon you can try.
http://www.networkupstools.org/
On Sat, Sep 16, 2006 at 09:12:35PM -0400, Richard Klein wrote:
I've acquired an APC SmartUPS and plugged it into my server that runs Debian 3.1 (sarge). The Powerchute disc that came with it says it has versions for Red Hat, SuSE, TurboLinux, and a couple other distros, but they don't mention Debian. I haven't looked at the contents of the CD yet, but I bet there are some interesting alternatives from other sources than APC.
What software would you guys suggest I try with the UPS? I don't have X installed on the server, so command-line is the way to go, but a web interface would be neat!
participants (3)
-
Andy Stewart
-
Chuck Anderson
-
Richard Klein