[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Проблема с apcupsd



root@beta:~# apctest -k


2009-07-22 20:12:06 apctest 3.14.4 (18 May 2008) debian
Checking configuration ...
Attached to driver: usb
sharenet.type = DISABLE
cable.type = USB_CABLE

You are using a USB cable type, so I'm entering USB test mode
mode.type = USB_UPS
Setting up the port ...
apctest: bad option, I cannot do a killpower


Конфиг:
## apcupsd.conf v1.1 ##
#
#  for apcupsd release 3.14.4 (18 May 2008) - debian
#
# "apcupsd" POSIX config file

#
# ========= General configuration parameters ============
#

UPSNAME Back-UPS CS 500
UPSCABLE usb
DEVICE
UPSTYPE usb
#POLLTIME 60
LOCKFILE /var/lock
SCRIPTDIR /etc/apcupsd
PWRFAILDIR /etc/apcupsd
NOLOGINDIR /etc
ONBATTERYDELAY 6
BATTERYLEVEL 5
MINUTES 3
TIMEOUT 0
ANNOY 300
ANNOYDELAY 60
NOLOGON disable
KILLDELAY 0
NETSERVER on
NISIP 127.0.0.1
NISPORT 3551
EVENTSFILE /var/log/apcupsd.events
EVENTSFILEMAX 10

#
# ========== Configuration statements used if sharing =============
#            a UPS with more than one machine

UPSCLASS standalone
UPSMODE disable

#
# ===== Configuration statements to control apcupsd system logging ========
#

STATTIME 0
STATFILE /var/log/apcupsd.status
LOGSTATS on
DATATIME 0
#FACILITY DAEMON


Reply to: