[Nut-upsuser] Battery runtime not displaying

ML mail mlnospam at yahoo.com
Fri Jun 14 21:16:58 UTC 2013


Thanks for the help, with the apcsmart-old driver it works again! Didn't notice my UPS is now so "old" ;-)

Here is the output of upsc with apcsmart-old driver:

battery.alarm.threshold: 0
battery.charge: 100.0
battery.charge.restart: 00
battery.date: 11/22/06
battery.packs: 001
battery.packs.bad: 000
battery.runtime: 540
battery.runtime.low: 120
battery.voltage: 53.73
battery.voltage.nominal: 048
device.mfr: APC
device.model: Smart-UPS RT 2000 XL   
device.serial: 
device.type: ups
driver.name: apcsmart-old
driver.parameter.pollinterval: 2
driver.parameter.port: /dev/ttyS7
driver.version: 2.6.4
driver.version.internal: 2.1
input.frequency: 49.98
input.quality: FF
input.sensitivity: A
input.transfer.high: 253
input.transfer.low: 161
input.transfer.reason: simulated power failure or UPS test
input.voltage: 233.2
input.voltage.maximum: 233.2
input.voltage.minimum: 233.2
output.voltage: 229.3
output.voltage.nominal: 230
ups.delay.shutdown: 020
ups.delay.start: 000
ups.display.language: E
ups.firmware: 416.7.I
ups.firmware.old: 5YI
ups.id: UPS_IDEN
ups.load: 063.0
ups.mfr: APC
ups.mfr.date: 11/22/06
ups.model: Smart-UPS RT 2000 XL   
ups.serial: 
ups.status: OL
ups.temperature: 034.6
ups.test.interval: 1209600
ups.test.result: NO

and here with apcsmart driver:

battery.charge: 100.0
battery.voltage: 53.73
device.mfr: APC
device.model: Smart-UPS RT 2000 XL   
device.serial: 
device.type: ups
driver.name: apcsmart
driver.parameter.pollinterval: 2
driver.parameter.port: /dev/ttyS7
driver.version: 2.6.4
driver.version.internal: 3.04
input.voltage: 233.2
output.voltage: 229.3
ups.firmware: 416.7.I
ups.load: 063.0
ups.mfr: APC
ups.model: Smart-UPS RT 2000 XL   
ups.serial: 
ups.status: OL
ups.temperature: 034.6





________________________________
 From: Charles Lepple <clepple at gmail.com>
To: ML mail <mlnospam at yahoo.com> 
Cc: nut-upsuser lists.alioth.debian.org <nut-upsuser at lists.alioth.debian.org>; Michal Soltys <msoltyspl-guest at alioth.debian.org> 
Sent: Friday, June 14, 2013 2:15 PM
Subject: Re: [Nut-upsuser] Battery runtime not displaying
 

On Jun 13, 2013, at 7:14 AM, ML mail wrote:

> I just upgraded to Network UPS Tools upsstats 2.6.4 on Debian wheezy and noticed that it does not show the battery runtime anymore, the field is simply empty. It used to work before with NUT 2.4.1. Does anyone know what could be wrong?
> 
> I am using the apcsmart UPS driver.


The apcsmart driver was overhauled, and in 2.6.x, the previous one is available as apcsmart-old: just change the driver name in ups.conf, and restart upsd and the driver.

We would eventually like to have the new apcsmart driver replace the old one completely, so could you please capture the output of upsc for both the apcsmart and apcsmart-old drivers? (Feel free to filter out the serial number - I'm mainly interested in what other variables might be missing.)

Michal: let us know if you have any other recommended tests.

-- 
Charles Lepple
clepple at gmail
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/nut-upsuser/attachments/20130614/d79aa899/attachment.html>


More information about the Nut-upsuser mailing list