[Nut-upsuser] TrippLite SMART1500LCD no delay before ups shutdown.
Charles Lepple
clepple at gmail.com
Mon Aug 21 12:40:51 UTC 2017
On Aug 21, 2017, at 8:33 AM, Charles Lepple <clepple at gmail.com> wrote:
>
> 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.
My mistake, should be handled by the main driver code here:
https://github.com/networkupstools/nut/blob/v2.7.4/drivers/usbhid-ups.c#L558-L583
Can you grab a log as before, but with upsd running? You can send the upsrw command to set the timer, then get upscmd to run the "shutdown.return" command (might need to be on battery for this to work). It might also be best to power the server from another outlet or UPS.
More information about the Nut-upsuser
mailing list