[Nut-upsuser] Server did not shut down

Roger Price roger at rogerprice.org
Sun Jun 21 21:34:19 BST 2020


On Sun, 21 Jun 2020, Henning Ryll wrote:

> My configuration is working so far. I can check values with upsc and I'm 
> getting mails, when the power line ist disconnected and reconneted.

Do you also get a mail for LB status ?

> Shutting down the machine works if I do this via console with 'upsmon -c fsd'.
> But no automatic shutdown :(

Did you intend to get an automatic shutdown on LB with this configuration?

> If I try to set battery.runtime.low > 300 I get an error. See below.
>  
> # upsd -V
> Network UPS Tools upsd 2.7.4
>  
> # upsrw -s battery.runtime.low=301 -u admin -p aXXX apcsmartups
> Unexpected response from upsd: ERR INVALID-VALUE
>  
> # upsrw -s battery.runtime.low=301 -u admin -p aXXX apcsmartups
> OK
>  
> # upsc apcsmartups
> battery.alarm.threshold: 0
> battery.charge: 073.0
> battery.charge.restart: 00
> battery.date: 19/25/10
> battery.packs: 000
> battery.runtime: 11400
> battery.runtime.low: 300
> battery.voltage: 25.24
> battery.voltage.nominal: 024

It's surprising not to see battery.charge.low .  Is this implied by 
battery.runtime.low ?

Roger


More information about the Nut-upsuser mailing list