[Nut-upsuser] Unexpected shutdown begins for WOW-500U

Sergei V. Dubrov dubrov at inp.nsk.su
Sat Jul 23 04:26:13 UTC 2011


G'day!

On 23 Jul 2011 at 3:26, Arnaud Quette wrote:

> 
> Hey Sergei,
> 
> What I see after pulling the plug:
> 
> ./upsc xen-home battery.charge
> 72
> 
> ./upsc xen-home ups.status
> OB DISCHRG
> 
> OB status is correct but why is there DISCHRG status?! This flag, as I
> think, cause immediately begin of shutdown although the battery is not
> discharged and has 72 percent of charge.
> 
> Is DISCHRG exactly from UPS or is it an inaccurate interpretation of
> obtained status from WOW-500U?
> 
> DISCHRG is a normal value:
> http://www.networkupstools.org/docs/developer-
> guide.chunked/ar01s04.html#_status_data
> 
> the only reason I see that would trigger an instant shutdown is a loss of
> communication ('data stale') with the device when running on battery. and
> this should be logged in your syslog and console.

As I can see loss of communication does not occur (logs below).

> it could otherwise be a setting (ie battery.charge.low).
> 
> I would finally like to see a full upsc output. upsrw would also be
> welcome.

UPS online:
===
# ./upsc xen-home
battery.charge: 100
battery.charge.low: 10
battery.charge.warning: 30
battery.date: 2010/01/01
battery.runtime: 2304
battery.type: PbAc
device.mfr: POWERCOM Co.,LTD
device.model:   UPS  WOW--500U FW3.A4
device.serial: 3A4-0000-0001
device.type: ups
driver.name: usbhid-ups
driver.parameter.pollfreq: 30
driver.parameter.pollinterval: 2
driver.parameter.port: auto
driver.version: 2.6.1
driver.version.data: PowerCOM HID 0.2
driver.version.internal: 0.35
input.frequency: 50.0
input.voltage: 224.0
input.voltage.nominal: 220
output.frequency: 50.0
output.voltage: 224.0
output.voltage.nominal: 220
ups.beeper.status: enabled
ups.date: 2010/01/01
ups.load: 20
ups.mfr: POWERCOM Co.,LTD
ups.model:   UPS  WOW--500U FW3.A4
ups.productid: 00a4
ups.serial: 3A4-0000-0001
ups.status: OL
ups.test.result: Done and passed
ups.vendorid: 0d9f
===

Start test of battery:
===
# ./upscmd -u admin -p password xen-home test.battery.start.quick

[root at xen-home bin]#
Broadcast message from ups (Sat Jul 23 11:04:41 2011):

UPS xen-home at localhost on battery

# ./upsc xen-home
battery.charge: 100
battery.charge.low: 10
battery.charge.warning: 30
battery.date: 2010/01/01
battery.runtime: 1088
battery.type: PbAc
device.mfr: POWERCOM Co.,LTD
device.model:   UPS  WOW--500U FW3.A4
device.serial: 3A4-0000-0001
device.type: ups
driver.name: usbhid-ups
driver.parameter.pollfreq: 30
driver.parameter.pollinterval: 2
driver.parameter.port: auto
driver.version: 2.6.1
driver.version.data: PowerCOM HID 0.2
driver.version.internal: 0.35
input.frequency: 50.0
input.voltage: 220.0
input.voltage.nominal: 220
output.frequency: 50.0
output.voltage: 222.0
output.voltage.nominal: 220
ups.beeper.status: enabled
ups.date: 2010/01/01
ups.load: 30
ups.mfr: POWERCOM Co.,LTD
ups.model:   UPS  WOW--500U FW3.A4
ups.productid: 00a4
ups.serial: 3A4-0000-0001
ups.status: OB DISCHRG
ups.test.result: In progress
ups.vendorid: 0d9f
===

Few seconds later:
===
[root at xen-home bin]#
Broadcast message from ups (Sat Jul 23 11:04:47 2011):

UPS xen-home at localhost on line power

# ./upsc xen-home
battery.charge: 90
battery.charge.low: 10
battery.charge.warning: 30
battery.date: 2010/01/01
battery.runtime: 2112
battery.type: PbAc
device.mfr: POWERCOM Co.,LTD
device.model:   UPS  WOW--500U FW3.A4
device.serial: 3A4-0000-0001
device.type: ups
driver.name: usbhid-ups
driver.parameter.pollfreq: 30
driver.parameter.pollinterval: 2
driver.parameter.port: auto
driver.version: 2.6.1
driver.version.data: PowerCOM HID 0.2
driver.version.internal: 0.35
input.frequency: 50.0
input.voltage: 224.0
input.voltage.nominal: 220
output.frequency: 50.0
output.voltage: 230.0
output.voltage.nominal: 220
ups.beeper.status: enabled
ups.date: 2010/01/01
ups.load: 30
ups.mfr: POWERCOM Co.,LTD
ups.model:   UPS  WOW--500U FW3.A4
ups.productid: 00a4
ups.serial: 3A4-0000-0001
ups.status: OL CHRG
ups.test.result: In progress
ups.vendorid: 0d9f
===

Upsrw gives blank output:
===
[root at xen-home bin]# ./upsrw xen-home
[root at xen-home bin]#
===

> 
> cheers,
> Arnaud

WBR,
Sergei Dubrov



More information about the Nut-upsuser mailing list