![APC UPS 更换电池灯和 apcupsd 报告“更换电池”](https://linux22.com/image/580098/APC%20UPS%20%E6%9B%B4%E6%8D%A2%E7%94%B5%E6%B1%A0%E7%81%AF%E5%92%8C%20apcupsd%20%E6%8A%A5%E5%91%8A%E2%80%9C%E6%9B%B4%E6%8D%A2%E7%94%B5%E6%B1%A0%E2%80%9D.png)
我们有一台 APC Smart UPS 1500。“更换电池”灯亮起,并且 apcupsd 报告:
Emergency! Batteries have failed on UPS xxxx. Change them NOW
然而从这篇文章来看,
http://sturgeon.apcc.com/kbasewb2.nsf/for+external/f39c4312fcaf7b948525679a005ebb78?OpenDocument
似乎不太清楚是否需要更换 UPS 电池。奇怪的是,根据 UPS 上的信息,在 27.7V 下以 42.9% 的负载运行 11 分钟并不算太糟糕。
有什么想法可以尝试下一步吗?我们是一家非盈利组织,资金是一个物体。更换使用时间只有一年左右的电池是一件很可惜的事情。
# apcaccess status
APC : 001,041,1017
DATE : Thu Mar 29 13:01:41 EDT 2012
HOSTNAME : oreilly2
VERSION : 3.14.6 (16 May 2009) debian
UPSNAME : xxxx
CABLE : Custom Cable Smart
MODEL : Smart-UPS 1500
UPSMODE : Stand Alone
STARTTIME: Thu Mar 29 12:57:30 EDT 2012
STATUS : ONLINE
LINEV : 112.3 Volts
LOADPCT : 42.9 Percent Load Capacity
BCHARGE : 100.0 Percent
TIMELEFT : 11.0 Minutes
MBATTCHG : 5 Percent
MINTIMEL : 3 Minutes
MAXTIME : 0 Seconds
OUTPUTV : 112.3 Volts
SENSE : High
DWAKE : -01 Seconds
DSHUTD : 090 Seconds
LOTRANS : 106.0 Volts
HITRANS : 127.0 Volts
RETPCT : 000.0 Percent
ITEMP : 23.8 C Internal
ALARMDEL : Always
BATTV : 27.7 Volts
LINEFREQ : 60.0 Hz
LASTXFER : No transfers since turnon
NUMXFERS : 0
TONBATT : 0 seconds
CUMONBATT: 0 seconds
XOFFBATT : N/A
SELFTEST : NO
STATFLAG : 0x07000008 Status Flag
SERIALNO : AS0603298896
BATTDATE : 2006-01-14
NOMOUTV : 120 Volts
NOMBATTV : 24.0 Volts
FIRMWARE : 601.3.D USB FW:1.5
APCMODEL : Smart-UPS 1500
END APC : Thu Mar 29 13:02:12 EDT 2012
运行 upstest 时出错
You are using a SMART cable type, so I'm entering SMART test mode
mode.type = USB_UPS
Setting up the port ...
Hello, this is the apcupsd Cable Test program.
This part of apctest is for testing Smart UPSes.
Please select the function you want to perform.
1) Query the UPS for all known values
2) Perform a Battery Runtime Calibration
3) Abort Battery Calibration
4) Monitor Battery Calibration progress
5) Program EEPROM
6) Enter TTY mode communicating with UPS
7) Quit
Select function number: 2
First ensure that we have a good link and
that the UPS is functionning normally.
Simulating UPSlinkCheck ...
YWrote: Y Got:
getline failed. Apparently the link is not up.
Giving up.
答案1
进行电量耗尽测试。这将告诉您电池的实际运行时间,而不是理论运行时间。它会将负载切换到电池,并运行直到剩余运行时间或电池电量达到允许的最低值,此时它将切换回主电源并为电池充电。
除非电池立即失效,否则您不应该因此而出现任何停机时间。
要做到这一点:
- 停止 apcupsd 服务
- 跑步
apctest
- 选择
Perform battery calibration