Народ, прочитал весь форум про apcupsd и выключение АРС после халта системы...
Но у меня такая проблемка, не работает atctest и apcupsd --killpower сообщает ошибке:
apctestapctest:
2007-01-08 11:11:16 apctest 3.10.17 (18 March 2005) freebsd
Checking configuration ...
Attached to driver: usb
sharenet.type = NET
upsclass.type = NETMASTER
cable.type = USB_CABLE
You are using a USB cable type, so I'm entering USB test mode
mode.type = USB_UPS
apctest FATAL ERROR in bsd-usb.c at line 751
Cannot find UPS device --
For a link to detailed USB trouble shooting information,
please see <http://www.apcupsd.com/support.html>.
apctest FATAL ERROR in bsd-usb.c at line 751
Cannot find UPS device --
For a link to detailed USB trouble shooting information,
please see <http://www.apcupsd.com/support.html>.
apctest error termination completed
apcupsd -killpower:
apcupsd FATAL ERROR in bsd-usb.c at line 751
Cannot find UPS device --
For a link to detailed USB trouble shooting information,
please see <http://www.apcupsd.com/support.html>.
apcaccess:
APC : 001,034,0830
DATE : Mon Jan 08 11:12:27 KGT 2007
HOSTNAME : router
RELEASE : 3.10.17
VERSION : 3.10.17 (18 March 2005) freebsd
UPSNAME : router
CABLE : USB Cable
MODEL : Back-UPS ES 525
UPSMODE : Net Master
STARTTIME: Mon Jan 08 10:49:07 KGT 2007
SHARE : NetworkUPS
STATUS : ONLINE
LINEV : 000.0 Volts
LOADPCT : 26.0 Percent Load Capacity
BCHARGE : 100.0 Percent
TIMELEFT : 37.0 Minutes
MBATTCHG : 80 Percent
MINTIMEL : 3 Minutes
MAXTIME : 0 Seconds
LOTRANS : 195.0 Volts
HITRANS : 255.0 Volts
ALARMDEL : Always
BATTV : 13.4 Volts
NUMXFERS : 0
TONBATT : 0 seconds
CUMONBATT: 0 seconds
XOFFBATT : N/A
SELFTEST : NO
STATFLAG : 0x02000008 Status Flag
SERIALNO : BB0607021407
BATTDATE : 2006-02-08
NOMBATTV : 12.0
FIRMWARE : 51.t2.I USB FW:t2
APCMODEL : Back-UPS ES 525
END APC : Mon Jan 08 11:12:29 KGT 2007
apcupsd собран из исходников без snmp с usb