LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 08-14-2006, 01:02 AM   #1
blkcamarozr28
Member
 
Registered: Oct 2005
Location: Honolulu, Hawaii
Distribution: Fedora Core 1-7, CentOS 4/5, Ubuntu/Xubuntu
Posts: 63

Rep: Reputation: 15
Question APC UPS Backup batter with FC5?


I just bought a APC Back-UPS XS 1200 UPS and was wondering how you would configure FC5 (Gnome) to shutdown when the UPS battery is running low? So far I hooked up the USB cable to my mobo and FC5 sees the UPS. Thanks!


Wilson
 
Old 08-14-2006, 03:29 AM   #2
blkcamarozr28
Member
 
Registered: Oct 2005
Location: Honolulu, Hawaii
Distribution: Fedora Core 1-7, CentOS 4/5, Ubuntu/Xubuntu
Posts: 63

Original Poster
Rep: Reputation: 15
Talking

I think I found the solution.

I just installed apcupsd via YUM and started the service. It looks like the default config is finding my UPS. I'll read the docs and see if I need to tweak it for shutdown when the battery is low.

Code:
[root@server ~]# service apcupsd start
Starting UPS monitoring:                                   [  OK  ]
[root@server ~]# service apcupsd status
APC      : 001,035,0869
DATE     : Sun Aug 13 22:26:17 HST 2006
HOSTNAME : server.ltsp
RELEASE  : 3.12.2
VERSION  : 3.12.2 (18 January 2006) redhat
UPSNAME  : server.ltsp
CABLE    : USB Cable
MODEL    : Back-UPS XS 1200
UPSMODE  : Stand Alone
STARTTIME: Sun Aug 13 22:26:14 HST 2006
STATUS   : ONLINE
LINEV    : 119.0 Volts
LOADPCT  :  11.0 Percent Load Capacity
BCHARGE  : 100.0 Percent
TIMELEFT :  53.8 Minutes
MBATTCHG : 5 Percent
MINTIMEL : 3 Minutes
MAXTIME  : 0 Seconds
LOTRANS  : 097.0 Volts
HITRANS  : 139.0 Volts
ALARMDEL : Always
BATTV    : 26.9 Volts
LASTXFER : Low line voltage
NUMXFERS : 0
TONBATT  : 0 seconds
CUMONBATT: 0 seconds
XOFFBATT : N/A
SELFTEST : NO
STATFLAG : 0x07000008 Status Flag
MANDATE  : 2006-02-22
SERIALNO : xxxxxxxxxx
BATTDATE : 2001-09-25
NOMBATTV :  24.0
FIRMWARE : .g1 .D USB FW:g1
APCMODEL : Back-UPS XS 1200
END APC  : Sun Aug 13 22:26:20 HST 2006
[root@server ~]#
==Update==
Looks like the defaults are pretty good.
/etc/apcupsd/apcupsd.conf
Default for shutdown is 5% calculated battery level (and/or) below 3 minutes calculated battery remaining. Dam that was too easy!

Last edited by blkcamarozr28; 08-14-2006 at 03:40 AM.
 
  


Reply



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
APC Smart-UPS and apcupsd michaelsr Linux - Software 4 06-24-2014 06:49 AM
APC UPS backup-ups ES RJ-45 augurseer Linux - Hardware 3 11-18-2009 11:32 PM
APC UPS Smart_UPS v/s 650 MikeAtVillage Linux - Hardware 4 07-05-2005 04:08 AM
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

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 05:55 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration