Hello,
I havent posted here forever so I figured I'd ask for this issue. I have purchased a APC Smart-UPS 750 (SMT750RM2U) which is connected to the Debian server via USB.
I installed apcupsd (version 3.14.10) on the server using apt-get and used this config (removed all comments from the file):
Code:
UPSNAME SMT750RM2U
UPSCABLE smart
UPSTYPE usb
DEVICE
POLLTIME 60
LOCKFILE /var/lock
SCRIPTDIR /etc/apcupsd
PWRFAILDIR /etc/apcupsd
NOLOGINDIR /etc
ONBATTERYDELAY 1
BATTERYLEVEL 20
MINUTES 10
TIMEOUT 0
ANNOY 0
ANNOYDELAY 60
NOLOGON disable
KILLDELAY 0
NETSERVER on
NISIP 127.0.0.1
NISPORT 3551
EVENTSFILE /var/log/apcupsd.events
EVENTSFILEMAX 10
UPSCLASS standalone
UPSMODE disable
STATTIME 0
STATFILE /var/log/apcupsd.status
LOGSTATS off
DATATIME 0
Code:
root@proxmox:~# uname -a
Linux proxmox 2.6.32-29-pve #1 SMP Thu Apr 24 10:03:02 CEST 2014 x86_64 GNU/Linux
The issue is that the cgi webinterface is missing some outputs from the UPS and the command "apcaccess status" is also missing some data. I have tried changing the cable and UPS types in apcupsd.conf to no avail.
Apparently apcupsd supports these Smart-UPS so I would expect to at least have the "UPS Load", "Utility voltage" and "Output voltage" but these are missing..
Code:
root@proxmox:/etc/apcupsd# apcaccess status
APC : 001,027,0681
DATE : 2015-01-13 20:23:25 -0500
HOSTNAME : proxmox
VERSION : 3.14.10 (13 September 2011) debian
UPSNAME : SMT750RM2U
CABLE : USB Cable
DRIVER : USB UPS Driver
UPSMODE : Stand Alone
STARTTIME: 2015-01-13 19:40:09 -0500
MODEL : Smart-UPS 750
STATUS : ONLINE
BCHARGE : 100.0 Percent
TIMELEFT : 24.0 Minutes
MBATTCHG : 20 Percent
MINTIMEL : 10 Minutes
MAXTIME : 0 Seconds
ALARMDEL : 30 seconds
BATTV : 27.3 Volts
NUMXFERS : 0
TONBATT : 0 seconds
CUMONBATT: 0 seconds
XOFFBATT : N/A
STATFLAG : 0x07000008 Status Flag
MANDATE : 2014-06-29
SERIALNO :
NOMBATTV : 24.0 Volts
FIRMWARE : UPS 08.8 / ID=18
END APC : 2015-01-13 20:23:58 -0500
Also apctest outputs "I don't know how to <bla bla bla> on your UPS or your UPS does not support <bla bla bla>" for most (if not all entries in the application's menu).
With missing data and apctest's messages I suspect the UPS is misconfigured or not supported, or worst, defective. I however ran the tests manually on the UPS and all went fine (a lot more data is available, self test works, all is reported as fine by the UPS, etc). I have also checked in the UPS manual to see if some initialization was required after purchase but no.
Seeking some advices!
Thanks!
EDIT: I have attached 2 screenshots of the webinterface showing some available data and some missing data. I have circled in purple the abnormal data.