On Aug 21, 2017, at 12:45 AM, Whiteshell Tech <n...@whiteshell-tech.com> wrote:
I have attempted to set the delay higher using "upsrw -s ups.delay.shutdown=120
TrippLiteUPS@localhost" and confirmed the value with "upsc TrippLiteUPS@localhost"
Still the UPS switches off right away.
Due to the way that the HID PDC shutdown sequence works, the value you see from
"upsc ups.delay.shutdown" is just a variable in the driver. It does not write
that to the UPS until the delayed shutdown command is sent, since the shutdown timer in
the UPS starts when that value is written.
That makes sense. Thanks for pointing that out I did not realize that.
That said, it looks like the TrippLite HID mappings (in v2.7.4 as well as master) are
missing the "shutdown.return" command. I'd look into it further, but
ironically, the local power company has scheduled maintenance coming up soon, and I am
typing this on a machine with a Tripp Lite UPS that doesn't play well with NUT. Should
have more time later today or this week.
At first after installing the debian nut packages with apt-get and setting up the config
files I had to setup a systemd service to exeu "upsdrvctl shutdown" on shutdown
or else the ups would not turn off at all. Now after setting up that service is when I
discovered the issue, that the ups does not delay in shutting down.
This sounds like a bug in the Debian packaging (or Proxmox? Not sure where the
dividing line is.) Can you check their bug trackers?
Okay, I will check the bug trackers. Also I will setup a fresh Debian 9
install on another system and see if the problem still happens.
Thanks, Good luck with the power company. :)
_______________________________________________
Nut-upsuser mailing list
Nut-upsuser@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsuser