Hello,
I am working on getting NUT working with my Smart-UPS 900 UPS (with the C cable)
For several years, I have used the apcupsd product, but because of the
nagios support for nut, I am working on switching over.
Under apcupsd, I get tons of information from my UPS:
# /usr/local/sbin/apcaccess status
DATE : Sat Jul 09 12:56:41 CDT 2005
HOSTNAME : homer
RELEASE : 3.8.6
UPSNAME : UPS_IDEN
CABLE : Custom Cable Smart
MODEL : APC Smart-UPS 900
UPSMODE : Net Master
STARTTIME: Sat Jul 09 12:55:48 CDT 2005
SHARE : NetworkUPS
STATUS : ONLINE
LINEV : 112.8 Volts
LOADPCT : 97.7 Percent Load Capacity
BCHARGE : 100.0 Percent
TIMELEFT : 8.0 Minutes
MBATTCHG : 5 Percent
MINTIMEL : 3 Minutes
MAXTIME : 0 Seconds
MAXLINEV : 113.4 Volts
MINLINEV : 112.2 Volts
OUTPUTV : 112.8 Volts
SENSE : High
DWAKE : 000 Seconds
DSHUTD : 020 Seconds
DLOWBATT : 02 Minutes
LOTRANS : 103.0 Volts
HITRANS : 132.0 Volts
RETPCT : 000.0 Percent
ITEMP : 44.5 C Internal
ALARMDEL : 5 seconds
BATTV : 27.3 Volts
LINEFREQ : 60.0 Hz
LASTXFER : Line voltage notch or spike
NUMXFERS : 0
TONBATT : 0 seconds
CUMONBATT: 0 seconds
XOFFBATT : N/A
SELFTEST : NO
STESTI : ON
STATFLAG : 0x008 Status Flag
DIPSW : 0x0F Dip Switch
REG3 : 0x00 Register 3
MANDATE : 08/23/93
SERIALNO : 00035452
BATTDATE : 08/23/93
NOMOUTV : 115
NOMBATTV : 24.0
APCMODEL : 7QD
END APC : Sat Jul 09 12:56:42 CDT 2005
But under NUT, all I get is this:
#./upsc APC-900@localhost
driver.name: apcsmart
driver.parameter.port: /dev/ttyb
driver.version: 2.0.2
driver.version.internal: 1.99.7
input.voltage: 114.7
ups.mfr: APC
ups.model: Smart-UPS
ups.serial: 00035452
ups.status: OL
My driver infor for NUT:
Network UPS Tools - UPS driver controller 2.0.2
Network UPS Tools (version 2.0.2) - APC Smart protocol driver
Driver version 1.99.7, command table version 2.0
Detected Smart-UPS [00035452] on /dev/ttyb
Using nut-2.0.2
Anyone have any info? It would be great to get all of the info out of nut.
thanks!
-Mike
Hi Mike,> I am working on getting NUT working with my Smart-UPS 900 UPS (with the C cable) > > For several years, I have used the apcupsd product, but because of the > nagios support for nut, I am working on switching over.good switch ;-)> ... > Anyone have any info? It would be great to get all of the info out of nut.the one that could have answered your question is Russell Kroll, the author of this driver (and of most part of NUT). Sadly, he's now gone, and nobody has yet stepped up to take over this driver. Anyway, I'll try to give you the few info I have: 1) Russell has merged newapc and the previous apcsmart together. 2) look at apcupsd to see the differences (which file(s) ?) 3) launch apcsmart in debug mode to see if something went wrong (using "apcsmart -DDDDD -a APC-900") FYI, I've some times ago called APCUPSD guys to join us and take care of all of that. Point still underway, but seems not on the good way :-( Arnaud --- Linux / Unix Expert - MGE UPS SYSTEMS - R&D Dpt OpenSource Developer - http://arnaud.quette.free.fr/ Debian Developer - http://people.debian.org/~aquette/ ... and much more ...