2009年1月29日木曜日

APC 無停電電源装置の状態

帰宅してから(この間、18KMランニングトレーニングしてました)、職場のサーバーに接続して、無停電電源装置を見る。
ここに詳しく情報が書いてあるので便利でした。
http://www.itmedia.co.jp/help/howto/linux/ups/index.html
シリアルケーブルの接続だし、デフォルト設定で問題なかった。(^_^)v

root@thaw:~# apctest
2009-01-29 22:04:18 apctest 3.12.4 (19 August 2006) debian
Checking configuration ...
Attached to driver: apcsmart
sharenet.type = DISABLE
cable.type = CUSTOM_SMART

You are using a SMART cable type, so I'm entering SMART test mode
Unknown mode.type: 11
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: 1

I am going to run through the series of queries of the UPS
that are used in initializing apcupsd.

Simulating UPSlinkCheck ...
Wrote: Y Got: SM
Attempting to use smart_poll() ...
Sent: Y Got: SM Good -- smart_poll() works!.

Going to ask for valid commands...
Protocol version is: 3
Alert characters are: !$%+?=#|
Command characters are: ^A^N^Z')+-89>@ABCDEFGKLMNOPQRSUVWXYZabcefgjklmnopqrsuxyz~^M

Now running through apcupsd get_UPS capabilities().
NA indicates that the feature is Not Available

UPS Status: 08
Line quality: FF
Reason for last transfer to batteries: T
Self-Test Status: NO
Line Voltage: 102.9
Line Voltage Max: 103.6
Line Voltage Min: 102.9
Output Voltage: 102.9
Batt level percent: 100.0
Batt voltage: 27.27
UPS Load: 027.9
Line freq: 50.00
Runtime left: 0048
UPS Internal temp: 021.6
Dip switch settings: NA
Register 1: 00
Register 2: 00
Register 3: 00
Sensitivity: H
Wakeup delay: 000
Sleep delay: 060
Low transfer voltage: 092
High transfer voltage: 110
Batt charge for return: 00
Alarm status: 0
Low battery shutdown level: 02
UPS Name: UPS_IDEN
UPS Self test interval: 336
UPS manufacture date: 12/06/01
UPS serial number: AS0149110975
Date battery replaced: 12/06/01
Output voltage when on batteries: 100
Nominal battery voltage: 024
Percent humidity: NA
Ambient temperature: NA
Firmware revision: 162.4.A
Number of external batteries installed: 000
Number of bad batteries installed: NA
UPS model as defined by UPS: KWA
UPS EPROM capabilities string: uD43127130133136uA43108110112114uI43253257261265uM43225229233237lD43106103100097lA43092090088086lI43208204200196lM43182178174170e4820015253550607590oD13120oA13100oI43230240220225oM13208s441HMLLq4820205071012151820p483020060120240480720960000k4410TLNr483000020060120240480720960E443336168ON OFF
The EPROM string is 293 characters long!
Hours since last self test: NA

That is all for now.

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: 7
2009-01-29 22:04:39 End apctest.

root@thaw:~# /etc/init.d/apcupsd start
Starting APC UPS power management: apcupsd.

root@thaw:~# /sbin/apcaccess status
APC : 001,051,1201
DATE : Thu Jan 29 22:05:48 JST 2009
HOSTNAME : thaw
RELEASE : 3.12.4
VERSION : 3.12.4 (19 August 2006) debian
UPSNAME : UPS_IDEN
CABLE : Custom Cable Smart
MODEL : Smart-UPS 1400 RM
UPSMODE : Stand Alone
STARTTIME: Thu Jan 29 22:05:29 JST 2009
STATUS : ONLINE
LINEV : 102.9 Volts
LOADPCT : 27.9 Percent Load Capacity
BCHARGE : 100.0 Percent
TIMELEFT : 48.0 Minutes
MBATTCHG : 5 Percent
MINTIMEL : 3 Minutes
MAXTIME : 0 Seconds
MAXLINEV : 103.6 Volts
MINLINEV : 102.9 Volts
OUTPUTV : 102.9 Volts
SENSE : High
DWAKE : 000 Seconds
DSHUTD : 060 Seconds
DLOWBATT : 02 Minutes
LOTRANS : 092.0 Volts
HITRANS : 110.0 Volts
RETPCT : 000.0 Percent
ITEMP : 21.6 C Internal
ALARMDEL : 5 seconds
BATTV : 27.3 Volts
LINEFREQ : 50.0 Hz
LASTXFER : Line voltage notch or spike
NUMXFERS : 0
TONBATT : 0 seconds
CUMONBATT: 0 seconds
XOFFBATT : N/A
SELFTEST : NO
STESTI : 336
STATFLAG : 0x07000008 Status Flag
REG1 : 0x00 Register 1
REG2 : 0x00 Register 2
REG3 : 0x00 Register 3
MANDATE : 12/06/01
SERIALNO : AS0149110975
BATTDATE : 12/06/01
NOMOUTV : 100
NOMBATTV : 24.0
EXTBATTS : 0
FIRMWARE : 162.4.A
APCMODEL : KWA
END APC : Thu Jan 29 22:06:06 JST 2009
root@thaw:~#

今度、電源ケーブルを抜いて、さらに調べよう。

0 件のコメント: