[Nut-upsuser] Things seem to be working but upscmd does nothing

2010-12-14 Thread Richard
The nut ups daemons seem to be communicating with the UPS but upscmd 
gives me no joy.   Running commands do nothing and produce no output.  
Using the web interface returns an authentication failure and that is 
the only clue I  have.  I believe I have everything setup correctly but 
it's not working.  Can someone review this and give me clues as to what 
I should research next?



[Hagrid]
driver = usbhid-ups
port = /dev/apcusb
product = "Smart-UPS 2200 XL FW:690.19.D USB FW:7.4"
serial = JS1005032730
desc = "Primary 2200XL with huge battery pack - the big guy"



MONITOR hag...@localhost 1 nutmon easy  master


[nutmon]
password = easy
nutmon master   # or upsmon slave

r...@smwarehost:/etc/nut# /etc/rc.d/rc.ups start
Network UPS Tools - UPS driver controller 2.4.3
Network UPS Tools - Generic HID driver 0.34 (2.4.3)
USB communication driver 0.31
Using subdriver: APC HID 0.95
Network UPS Tools upsd 2.4.3
listening on 127.0.0.1 port 3493
listening on ::1 port 3493
Connected to UPS [Hagrid]: usbhid-ups-Hagrid
Network UPS Tools upsmon 2.4.3
UPS: hag...@localhost (master) (power value 1)
Using power down flag file /etc/killpower


r...@vmwarehost:/usr/src/nut# upscmd -l Hagrid
Instant commands supported on UPS [Hagrid]:

beeper.disable - Disable the UPS beeper
beeper.enable - Enable the UPS beeper
beeper.mute - Temporarily mute the UPS beeper
beeper.off - Obsolete (use beeper.disable or beeper.mute)
beeper.on - Obsolete (use beeper.enable)
load.off - Turn off the load immediately
load.off.delay - Turn off the load with a delay (seconds)
shutdown.reboot - Shut down the load briefly while rebooting the UPS
shutdown.stop - Stop a shutdown in progress
test.battery.start.deep - Start a deep battery test
test.battery.start.quick - Start a quick battery test
test.battery.stop - Stop the battery test
test.panel.start - Start testing the UPS panel
test.panel.stop - Stop a UPS panel test

r...@vmwarehost:/etc/nut# upscmd -u nutmon -p easy Hagrid 
test.battery.start.quick

r...@vmwarehost:/etc/nut#


___
Nut-upsuser mailing list
Nut-upsuser@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser


Re: [Nut-upsuser] Setting Battery Runtime Low

2010-12-14 Thread Poulton, Stuart W.L.
> This is a configurable value, setting the runtime remaining on battery
> before the low battery warning is raised.
> 
> It looks like the driver uses the UPS-MIB::upsConfigLowBattTime OID
> for this. According to IETF 1628, the units of this value is minutes.
> So in order to correctly display this in the units NUT uses (seconds)
> we need to multiply by 60 (similar to the
> UPS-MIB::upsEstimatedMinutesRemaining that is used for
> battery.runtime).
> 
> So I guess what the UPS is trying to tell you, is that the runtime
> remaining is before it will report battery low, is 60 seconds.
> Depending on your UPS you might be able to change this value though
> the 'upsrw' command (see 'man 8 upsrw'). Remember to input this value
> in minutes for the time being, until we have fixed this.

rcs-manage-1:/var/log # upsrw  phys-eaton
[battery.runtime.low]
Remaining battery runtime when UPS switches to LB (seconds)
Type: UNKNOWN (unrecognized)

I suspect from this that it may not be configurable.

Thoughts ?

Cheers

Stuart

___
Nut-upsuser mailing list
Nut-upsuser@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser


Re: [Nut-upsuser] Setting Battery Runtime Low

2010-12-14 Thread Arjen de Korte

Citeren "Poulton, Stuart W.L." :

I've successfully configured NUT to talk to the SNMP card, however  
it reports a battery.runtime.low of 1 , not much use, how do I  
change this value, is it defined by the UPS itself, the SNMP card,  
or NUT ?


This is a configurable value, setting the runtime remaining on battery  
before the low battery warning is raised.


It looks like the driver uses the UPS-MIB::upsConfigLowBattTime OID  
for this. According to IETF 1628, the units of this value is minutes.  
So in order to correctly display this in the units NUT uses (seconds)  
we need to multiply by 60 (similar to the  
UPS-MIB::upsEstimatedMinutesRemaining that is used for battery.runtime).


So I guess what the UPS is trying to tell you, is that the runtime  
remaining is before it will report battery low, is 60 seconds.  
Depending on your UPS you might be able to change this value though  
the 'upsrw' command (see 'man 8 upsrw'). Remember to input this value  
in minutes for the time being, until we have fixed this.


Best regards, Arjen
--
Please keep list traffic on the list (off-list replies will be rejected)


___
Nut-upsuser mailing list
Nut-upsuser@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser


[Nut-upsuser] Setting Battery Runtime Low

2010-12-14 Thread Poulton, Stuart W.L.
Dear All,

We have an Eaton 9395 UPS, with a ConnectUPS Web/SNMP card. 

I've successfully configured NUT to talk to the SNMP card, however it reports a 
battery.runtime.low of 1 , not much use, how do I change this value, is it 
defined by the UPS itself, the SNMP card, or NUT ?

Output of upsc below.

Cheers

Stuart

rcs-manage-1:~ # !upsc
upsc phys-eaton
ambient.temperature: 27.0
ambient.temperature.high: 50.00
ambient.temperature.low: 0.00
battery.charge: 100.00
battery.current: 0.00
battery.runtime: 1659.00
battery.runtime.low: 1
battery.voltage: 515.00
device.mfr: Powerware Corporation
device.model: Physics/Astronomy   
device.type: ups
driver.name: snmp-ups
driver.parameter.pollinterval: 2
driver.parameter.port: 192.168.10.25
driver.version: 2.4.3
driver.version.internal: 0.47 (mib: pw 0.6.1)
input.bypass.L1-N.voltage: 249.00
input.bypass.L2-N.voltage: 250.00
input.bypass.L3-N.voltage: 251.00
input.frequency: 50.10
input.L1-N.voltage: 249.00
input.L1.current: 183.00
input.L1.realpower: 42182.00
input.L2-N.voltage: 250.00
input.L2.current: 184.00
input.L2.realpower: 42366.00
input.L3-N.voltage: 250.00
input.L3.current: 184.00
input.L3.realpower: 42251.00
input.phases: 3.00
input.quality: 0.00
input.voltage.nominal: 239.00
output.frequency: 50.10
output.frequency.nominal: 50.00
output.L1-N.voltage: 240.00
output.L1.current: 150.00
output.L1.power.percent: 25.00
output.L1.realpower: 34656.00
output.L2-N.voltage: 240.00
output.L2.current: 189.00
output.L2.power.percent: 32.00
output.L2.realpower: 43783.00
output.L3-N.voltage: 240.00
output.L3.current: 168.00
output.L3.power.percent: 28.00
output.L3.realpower: 38859.00
output.phases: 3.00
output.voltage.nominal: 239.00
ups.firmware:   FP: 1.38  INV: 1.38  RCT: 1.38  IFC: 1.10
ups.firmware.aux: ConnectUPS Web/SNMP Card V4.30
ups.mfr: Powerware Corporation
ups.model: Physics/Astronomy   
ups.power: 34656.00
ups.power.nominal: 45.00
ups.realpower.nominal: 409000.00
ups.status: OL
ups.test.result: Done and passed
ups.type: parallel redundancy
vendor.specific.abmstatus: Battery Resting




___
Nut-upsuser mailing list
Nut-upsuser@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser