LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 05-06-2013, 03:15 PM   #1
tronayne
Senior Member
 
Registered: Oct 2003
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 2,995

Rep: Reputation: 737Reputation: 737Reputation: 737Reputation: 737Reputation: 737Reputation: 737Reputation: 737
APC Back-UPS XS 1000 (or BC1000G) Software?


Yesterday my 10-year-old APC UPS battery gave up the ghost (not bad, ten years out of a battery).

Today, Staples had a $150 new one on clearance for $80 (not much more than a replacement battery, plus shipping and fiddling with it).

Hmm. OK, pop for that.

APC offers free software (every flavor of Windows only, of course) and I've never had the UPS hooked up to a server (I just pushed the button and looked at the display) and I'm wondering... is there software for controlling it, looking at reports and stuff that's not a total PITA to install and use? They give you a nice USB-to-looks like an Ethernet plug cable, might as well get some use out of it, eh?

Any advice?
 
Old 05-06-2013, 04:47 PM   #2
fskmh
Member
 
Registered: Jun 2002
Location: South Africa
Distribution: Slackware64-current multilib
Posts: 235

Rep: Reputation: 55
Take a look at NUT. The SlackBuild is on SBo.

I've used it in the past with some commodity UPSs here that did not ship with a Linux driver or offered a really crappy binary only thing. There's also a KDE front-end called KNutClient. There's even a Cacti plugin.
 
1 members found this post helpful.
Old 05-06-2013, 05:58 PM   #3
StreamThreader
Member
 
Registered: Mar 2012
Location: Ukraine/Odesa
Distribution: Skackware
Posts: 74

Rep: Reputation: 5
Yes, NUT is a best solution for monitoring and control over UPS'es.
For non server desktop PC, KnutClient good client application.
For server useful used web interface with graphical history of voltage and failures.
screenshot - 1 2

Last edited by StreamThreader; 05-06-2013 at 06:02 PM.
 
1 members found this post helpful.
Old 05-06-2013, 08:49 PM   #4
tux_dude
Member
 
Registered: Dec 2008
Distribution: Slackware64 Current
Posts: 224

Rep: Reputation: 33
For APC you should apcupsd. It is also available on SBo. I use this for all my APC UPSes and it works without issue. I have never personally used NUT, but from what I read, apcupsd offers more functionality for APC devices.
 
1 members found this post helpful.
Old 05-07-2013, 10:20 AM   #5
SlackInstalled
LQ Newbie
 
Registered: Oct 2009
Location: Geldermalsen, The Netherlands
Distribution: Slackware 14.0
Posts: 21

Rep: Reputation: 2
I totally agree with the previous poster that apcupsd is the right choise
apcupsd also can function as a server for other systems connected tot the same ups.
When these other sytems also have apcupsd installed they will also power down when the time has come (If configuered)
These other systems do not have to be linux systems, but can also be Windows, FreeBSD etc since apcupsd is available for all these platforms
Profesionnaly I am using apcupsd on a FreeBSD system with also several Windows servers connected to the same UPC
Works as a champ !
 
1 members found this post helpful.
Old 05-07-2013, 02:57 PM   #6
tronayne
Senior Member
 
Registered: Oct 2003
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 2,995

Original Poster
Rep: Reputation: 737Reputation: 737Reputation: 737Reputation: 737Reputation: 737Reputation: 737Reputation: 737
Thank you all for the input.

I went with apcupsd (from SlackBuilds.org).

One little glitch was that, in /etc/apcupsd/apcupsd.conf, I needed to do this:
Code:
PSTYPE usb
#DEVICE /dev/ttyS0     # this doesn't work with the USB cable, methinks
DEVICE
Started 'er up, executed
Code:
apcaccess status
APC      : 001,036,0901
DATE     : 2013-05-07 15:52:49 -0400  
HOSTNAME : fubar
VERSION  : 3.14.10 (13 September 2011) slackware
UPSNAME  : fubar
CABLE    : USB Cable
DRIVER   : USB UPS Driver
UPSMODE  : Stand Alone
STARTTIME: 2013-05-07 15:25:48 -0400  
MODEL    : Back-UPS RS 1000G 
STATUS   : ONLINE 
LINEV    : 121.0 Volts
LOADPCT  :  20.0 Percent Load Capacity
BCHARGE  : 100.0 Percent
TIMELEFT :  41.5 Minutes
MBATTCHG : 5 Percent
MINTIMEL : 3 Minutes
MAXTIME  : 0 Seconds
SENSE    : Medium
LOTRANS  : 088.0 Volts
HITRANS  : 139.0 Volts
ALARMDEL : 30 seconds
BATTV    : 27.0 Volts
LASTXFER : No transfers since turnon
NUMXFERS : 0
TONBATT  : 0 seconds
CUMONBATT: 0 seconds
XOFFBATT : N/A
SELFTEST : NO
STATFLAG : 0x07000008 Status Flag
SERIALNO : 3B1235X07353  
BATTDATE : 2012-08-30
NOMINV   : 120 Volts
NOMBATTV :  24.0 Volts
NOMPOWER : 600 Watts
FIRMWARE : 869.L3 .D USB FW:L3
END APC  : 2013-05-07 15:52:50 -0400
Seems like they can talk to each other, eh?

Scanning through the manual it looks like there's a graphic display (haven't tried that yet). Also looks like I can use the two servers connected to this device (haven't tried that either, one step at a time).

I use XFCE and, magically, a power information thingie appears on the, whatsit, panel, and it shows an abbreviated status. Wow, zowie.

Should have done this years ago.
 
Old 05-11-2013, 04:55 AM   #7
xj25vm
Member
 
Registered: Jun 2008
Posts: 262

Rep: Reputation: 17
Yeah - one more vote here for apcupsd. I used nut for a while - but it was driving me, err, nuts. Switched to apcupsd and never looked back. The fact that the clients can also be Windows is a bonus - and the thing just works. Watch out for the changes you have to do to rc.6 in order to shut the system down properly. It is somewhere in the readme files from Sbo.
 
Old 05-11-2013, 05:45 AM   #8
tronayne
Senior Member
 
Registered: Oct 2003
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 2,995

Original Poster
Rep: Reputation: 737Reputation: 737Reputation: 737Reputation: 737Reputation: 737Reputation: 737Reputation: 737
Yeah, there's a README.SLACKWARE with the /etc/rcd./rc.6 edits and the addition to /etc/rc.d/rc.local (to start it).

So far, no events, no problems.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
About making work APC Back UPS - 525 rulet1 Linux - Hardware 18 02-01-2010 04:50 PM
apc Back-ups 650 a10392 Linux - Software 1 12-03-2004 10:51 AM
apc Back-ups a10392 Debian 1 12-03-2004 10:24 AM
USB Support for APC Battery back up UPS gway600 Linux - Hardware 2 08-06-2004 08:59 PM
Wierd problem with APC Back-UPS ES500 jtshaw Linux - Hardware 0 01-10-2004 09:39 AM


All times are GMT -5. The time now is 02:21 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration