[Nut-upsuser] UPS restart delay

Daniel O'Connor doconnor at gsoft.com.au
Fri Jul 27 08:11:29 UTC 2012


On 27/07/2012, at 17:36, Daniel O'Connor wrote:
> On 21/07/2012, at 22:55, Charles Lepple wrote:
>>> Does anyone know if this is possible? A setting like this would provide some hysteresis for successive power failures which would be handy to have :)
>> 
>> I don't know about that specific hardware, but the variables which would control this are battery.charge.restart ("Minimum battery level for UPS restart after power-off") and ups.delay.start ("Interval to wait before restarting the load (seconds)"). Check the output of "upsrw <ups>" to see if that variable is supported with your combination of UPS and driver.
>> 
>> Which version of NUT are you using? There might be a newmge-shut driver included as well.
> 
> I tried mge-shut in 2.6 with no change, but newmge-shut with 2.6 showed this parameter, thanks!


I retried 2.4 which has the new driver however its behaviour is different to 2.6.

It shows..
[dhcp-72114 8:07] ~ >upsc ups1 at localhost| grep battery
battery.capacity: 9.00
battery.charge: 100
battery.charge.low: 100
battery.charge.restart: 100
battery.runtime: 3960
battery.type: PbAc

vs 2.6..
[dhcp-72114 8:05] ~/nut-2.6.4 >upsc ups1 at localhost| grep battery
battery.capacity: 9.00
battery.charge: 100
battery.charge.low: 50
battery.charge.restart: 0
battery.energysave: no
battery.protection: yes
battery.runtime: 3960
battery.type: PbAc
ups.start.battery: yes

So I'll stick with 2.6 I think and do some more tests.

--
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
  -- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C






-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4358 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/nut-upsuser/attachments/20120727/415dc57a/attachment.bin>


More information about the Nut-upsuser mailing list