[Nut-upsuser] apcsmart varibles

Mike Ekholm Mike Ekholm <ekholm@gmail.com>
Sat Jul 9 17:59:56 UTC 2005


Hello,
I am working on getting NUT working with my Smart-UPS 900 UPS (with the C c=
able)

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




More information about the Nut-upsuser mailing list