Hello,
I am using an APC BACK-UPS PRO 650 with the APC Cable 940-0095A. I used
the debian package to install the daemon. The funny is that my server
comunicates with it, it updates the /etc/apcupsd.stats file with the
voltage stuff, but it doesn't shutdown, even when I set a TIMEOUT in
/etc/apcupsd.conf. It looks like it is working perfectly except it
doesn't shutdown.
Here is my /etc/apcupsd.conf file:
## apcupsd.conf v1.0 ##
#
# "apcupsd" POSIX config file
# Updated for Debian/GNU Linux by Leon Breedt ([EMAIL PROTECTED])
# CONTROL
CONTROL /usr/sbin/powersc
# UPSCABLE [ simple | smart |
#940-00(20B,23A,24B,24C,24G,95A,95C) |
#940-15(24C) |
#ether ]
#
UPSCABLE 940-0095A
# UPSTYPE [ backups | sharebasic | netups |
# backupspro | smartvsups |
# newbackupspro | backupspropnp |
# smartups | matrixups | sharesmart ]
#
UPSTYPE backupspro
# UPSCLASS [ standalone | shareslave | sharemaster | netslave |
netmaster ]
UPSCLASS standalone
# UPSMODE [ disable | share | net | sharenet ]
UPSMODE disable
#DEVICE /dev/
DEVICE /dev/ttyS0
#LOCKFILE
LOCKFILE /var/lock
#ACCESS [ true | false ] Enable Access Support
ACCESS true
# ANNOY <30> <0> disables
ANNOY 30
# DELAY <60> <0> disables
DELAY 10
# NOLOGON [ disable | timeout | percent | minutes | always ]
NOLOGON timeout
# PROCFS <120> <0> disables
PROCFS 10
# LOGGING <500> <0> disables
LOGGING 300
# TIMEOUT
TIMEOUT 10
# BATTERYLEVEL 10
BATTERYLEVEL 40
# MINUTES
5
MINUTES 15
# SENSITIVITY H,M,L default H
SENSITIVITY H
# WAKEUP 0,60,180,300 Cycles default 0
WAKEUP 60
# SLEEP 20,180,300,600 Cycles default 20
SLEEP 20
# LOTRANSFER 0,1,2,3 default 2
LOTRANSFER 2
# HITRANSFER 0,1,2,3 default 2
HITRANSFER 3
# RETURNCHARGE 0,1,2,3 default 3
RETURNCHARGE 1
# BEEPSTATE 0,T,L,N default 0
BEEPSTATE L
# SELFTEST 336,168,ON,OFF default 336
SELFTEST 336
#
# UPSNAME
UPSNAME UPS_IDEN
# REPLACE date format mm/dd/yy
#REPLACE 12/13/93
# BATTCMD
#BATTCMD
# TIMECMD
#TIMECMD
# LOADCMD
#LOADCMD
# LIMITCMD
#LIMITCMD
# PWRCMD
#PWRCMD
# RETCMD
#RETCMD
# REMOTECMD
# HITRANSFER 0,1,2,3 default 2
HITRANSFER 3
# RETURNCHARGE 0,1,2,3 default 3
RETURNCHARGE 1
# BEEPSTATE 0,T,L,N default 0
BEEPSTATE L
# SELFTEST 336,168,ON,OFF default 336
SELFTEST 336
#
# UPSNAME
UPSNAME UPS_IDEN
# REPLACE date format mm/dd/yy
#REPLACE 12/13/93
# BATTCMD
#BATTCMD
# TIMECMD
#TIMECMD
# LOADCMD
#LOADCMD
# LIMITCMD
#LIMITCMD
# PWRCMD
#PWRCMD
# RETCMD
#RETCMD
# REMOTECMD
# PWRCMD
#PWRCMD
# RETCMD
#RETCMD
# REMOTECMD
#REMOTECMD
# NETTIME
#NETTIME 100
# NETPORT
#NETPORT
# MASTER
#MASTER
# SLAVE
#SLAVE
#SLAVE
#SLAVE
#SLAVE
#SLAVE
#SLAVE
#SLAVE
#SLAVE
#SLAVE
#SLAVE
# USERMAGIC
#USERMAGIC
# HTTPACCESS [ true | false ] enable web-interface - defaults to false
#HTTPACCESS true
# HTTPPORT port to use for interface - defaults to 1999
#HTTP# PWRCMD
#PWRCMD
# RETCMD
#RETCMD
# REMOTECMD
#REMOTECMD
# NETTIME
#NETTIME 100
# NETPORT
#NETPORT
# MASTER
#MASTER
# SLAVE
#SLAVE
#SLAVE
#SLAVE
#SLAVE
#SLAVE
#SLAVE
#SLAVE
#SLAVE
#SLAVE
#SLAVE
# USERMAGIC
#USERMAGIC
# HTTPACCESS [ true | false ] enable web-interface - defaults to false
#HTTPACCESS true
# HTTPPORT port to use for interface - defaults to 1999
#HTTPPORT 1999PORT 1999
My /etc/apcups.stats says:
APC : Dec 14 14:36:37
CABLE: APC Cable 940-0095A
UPSMODEL : BACK-UPS PRO 650
UPSMODE : Stand Alone
LINEFAIL : OK
BATTSTAT : OK
LINEVOLT : OK
UPSNAME : UPS_IDEN
ULINE: 113.7 Volts
MLINE: 114.4 Volts
NLINE: 113.7 Volts
FLINE: 60.0 Hz
VOUTP: 113.7 Volts
LOUTP: 013.0 Load Capacity
BOUTP: 13.9 Volts
BCHAR: 100.0 Batt. Charge
TIME : 32.0 Minutes
SENSE: HIGH
WAKEUP : 060 Cycles
SLEEP: 020 Cycles
LOTRANS : 100.0 Volts
HITRANS : 136.0 Volts
CHARGE : 015.0 Percent
BFAIL: 0x08 Status Flag
ALARM: Low Batt
LASTEVNT : POWER FAILURE
LOWBATT : 02 Minutes
Thanks
Matt Fair
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]