Whiteshell Tech
2017-Aug-21 04:45 UTC
[Nut-upsuser] TrippLite SMART1500LCD no delay before ups shutdown.
Hello, I am hoping someone can point me in the right direction. I am setting up a new UPS, most things seem to be working except the UPS turns off immediately during a test shutdown using///"//upsmon -c fsd".//No delay before the UPS turns itself off leaving no time for the server to shutdown properly. I have attempted to set the delay higher using "upsrw -s ups.delay.shutdown=120 TrippLiteUPS at localhost" and confirmed the value with "upsc ///TrippLiteUPS at localhost/" Still the UPS switches off right away. 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. Only occasional errors in syslog I can see are "upsd[1018]: fopen /var/run/nut/upsd.pid: No such file or directory" and "systemd[1]: nut-monitor.service: PID file /var/run/nut/upsmon.pid not readable (yet?) after start: No such file or directory" Might be just because services are slow to start? Some details: TrippLite SMART1500LCD Dell PowerEdge T130 Proxmox on Debian 9 Linux host 4.10.17-2-pve #1 SMP PVE 4.10.17-20 (Mon, 14 Aug 2017 11:23:37 +0200) x86_64 GNU/Linux root at host:~# upsd -V Network UPS Tools upsd 2.7.4 root at host:~# lsusb | grep "Tripp Lite" Bus 001 Device 002: ID 09ae:2012 Tripp Lite root at host:~# cat /etc/nut/nut.conf MODE=standalone root at host:~# cat /etc/nut/ups.conf [TrippLiteUPS] driver = usbhid-ups port = auto vendorid = 09ae productid = 2012 desc = "Proxmox server" offdelay = 120 ondelay = 140 root at host:~# cat /etc/nut/upsd.conf LISTEN 127.0.0.1 3493 LISTEN ::1 3493 root at host:~# cat /etc/nut/upsd.users [upsmon] password = password upsmon master actions = SET instcmds = ALL root at host:~# cat /etc/nut/upsmon.conf MINSUPPLIES 1 SHUTDOWNCMD "/sbin/shutdown -h +0" POLLFREQ 5 POLLFREQALERT 5 HOSTSYNC 15 DEADTIME 15 POWERDOWNFLAG /etc/killpower RBWARNTIME 43200 NOCOMMWARNTIME 300 FINALDELAY 5 MONITOR TrippLiteUPS at localhost 1 upsmon password master NOTIFYFLAG COMMBAD SYSLOG+EXEC NOTIFYFLAG COMMOK SYSLOG+EXEC NOTIFYFLAG FSD SYSLOG+WALL+EXEC NOTIFYFLAG LOWBATT SYSLOG+WALL+EXEC NOTIFYFLAG NOCOMM SYSLOG+WALL+EXEC NOTIFYFLAG NOPARENT SYSLOG+WALL+EXEC NOTIFYFLAG ONBATT SYSLOG+WALL+EXEC NOTIFYFLAG ONLINE SYSLOG+WALL+EXEC NOTIFYFLAG REPLBATT SYSLOG+WALL+EXEC NOTIFYFLAG SHUTDOWN SYSLOG+WALL+EXEC root at host:~# cat /etc/nut/upssched.conf CMDSCRIPT /bin/upssched-cmd root at host:~# cat /etc/systemd/system/nut-delayed-ups-shutdown.service [Unit] Description=Initiate delayed UPS shutdown Before=umount.target DefaultDependencies=no [Service] Type=oneshot ExecStart=/usr/bin/logger -t upsdrvctl "nut-delayed-ups-shutdown.service calling upsdrvctl to shut down UPS unit" ExecStart=/sbin/upsdrvctl shutdown [Install] WantedBy=final.target root at host:~# upsc TrippLiteUPS Init SSL without certificate database battery.charge: 100 battery.runtime: 3840 battery.type: PbAC battery.voltage: 27.1 battery.voltage.nominal: 24.0 device.mfr: Tripp Lite device.model: Tripp Lite UPS device.type: ups driver.name: usbhid-ups driver.parameter.offdelay: 120 driver.parameter.ondelay: 140 driver.parameter.pollfreq: 30 driver.parameter.pollinterval: 2 driver.parameter.port: auto driver.parameter.productid: 2012 driver.parameter.synchronous: no driver.parameter.vendorid: 09ae driver.version: 2.7.4 driver.version.data: TrippLite HID 0.82 driver.version.internal: 0.41 input.frequency: 59.9 input.voltage: 116.2 input.voltage.nominal: 120 output.frequency.nominal: 60 output.voltage: 116.2 output.voltage.nominal: 120 ups.beeper.status: enabled ups.delay.shutdown: 120 ups.load: 0 ups.mfr: Tripp Lite ups.model: Tripp Lite UPS ups.power: 0.0 ups.power.nominal: 1500 ups.productid: 2012 ups.status: OL ups.timer.reboot: 65535 ups.timer.shutdown: 65535 ups.vendorid: 09ae ups.watchdog.status: 0 root at host:~# /lib/nut/usbhid-ups -DD -a TrippLiteUPS Network UPS Tools - Generic HID driver 0.41 (2.7.4) USB communication driver 0.33 0.000000 debug level is '2' 0.000242 upsdrv_initups... 0.115372 Checking device (1D6B/0003) (002/001) 0.115817 - VendorID: 1d6b 0.115821 - ProductID: 0003 0.115822 - Manufacturer: unknown 0.115824 - Product: unknown 0.115825 - Serial Number: unknown 0.115826 - Bus: 002 0.115827 - Device release number: 0410 0.115829 Trying to match device 0.115832 Device does not match - skipping 0.115835 Checking device (09AE/2012) (001/007) 0.119620 - VendorID: 09ae 0.119625 - ProductID: 2012 0.119626 - Manufacturer: Tripp Lite 0.119627 - Product: Tripp Lite UPS 0.119629 - Serial Number: unknown 0.119630 - Bus: 001 0.119631 - Device release number: 0009 0.119632 Trying to match device 0.119646 Device matches 0.119649 failed to claim USB device: could not claim interface 0: Device or resource busy 0.119739 detached kernel driver from USB device... 0.120316 HID descriptor length 662 0.139897 Report Descriptor size = 662 0.139980 Using subdriver: TrippLite HID 0.82 0.139983 74 HID objects found 0.140517 Path: UPS.PowerSummary.iProduct, Type: Feature, ReportID: 0x28, Offset: 0, Size: 8, Value: 2 0.141035 Path: UPS.PowerSummary.iSerialNumber, Type: Feature, ReportID: 0x29, Offset: 0, Size: 8, Value: 3 0.141519 Path: UPS.PowerSummary.iManufacturer, Type: Feature, ReportID: 0x2b, Offset: 0, Size: 8, Value: 1 0.142038 Path: UPS.PowerSummary.ffff00d9, Type: Feature, ReportID: 0xc0, Offset: 0, Size: 8, Value: 5 0.142461 Path: UPS.PowerSummary.Input.ConfigVoltage, Type: Feature, ReportID: 0x30, Offset: 0, Size: 8, Value: 120 0.142980 Path: UPS.PowerSummary.AudibleAlarmControl, Type: Feature, ReportID: 0x11, Offset: 0, Size: 8, Value: 2 0.143646 Path: UPS.PowerSummary.iDeviceChemistry, Type: Feature, ReportID: 0x2a, Offset: 0, Size: 8, Value: 4 0.144213 Path: UPS.PowerSummary.CapacityMode, Type: Feature, ReportID: 0x33, Offset: 0, Size: 8, Value: 2 0.144735 Path: UPS.PowerSummary.Rechargeable, Type: Feature, ReportID: 0x2c, Offset: 0, Size: 8, Value: 1 0.145267 Path: UPS.PowerSummary.RunTimeToEmpty, Type: Input, ReportID: 0x35, Offset: 0, Size: 16, Value: 3840 0.145274 Path: UPS.PowerSummary.RunTimeToEmpty, Type: Feature, ReportID: 0x35, Offset: 0, Size: 16, Value: 3840 0.145749 Path: UPS.PowerSummary.RemainingCapacity, Type: Input, ReportID: 0x34, Offset: 0, Size: 8, Value: 100 0.145755 Path: UPS.PowerSummary.RemainingCapacity, Type: Feature, ReportID: 0x34, Offset: 0, Size: 8, Value: 100 0.146214 Path: UPS.PowerSummary.FullChargeCapacity, Type: Feature, ReportID: 0x37, Offset: 0, Size: 8, Value: 100 0.146826 Path: UPS.PowerSummary.DesignCapacity, Type: Feature, ReportID: 0x36, Offset: 0, Size: 8, Value: 100 0.147335 Path: UPS.PowerSummary.PresentStatus.Voltage, Type: Feature, ReportID: 0x31, Offset: 0, Size: 16, Value: 1151 0.147854 Path: UPS.PowerSummary.PresentStatus.ShutdownImminent, Type: Input, ReportID: 0x32, Offset: 0, Size: 1, Value: 0 0.147860 Path: UPS.PowerSummary.PresentStatus.ACPresent, Type: Input, ReportID: 0x32, Offset: 1, Size: 1, Value: 1 0.147863 Path: UPS.PowerSummary.PresentStatus.Charging, Type: Input, ReportID: 0x32, Offset: 2, Size: 1, Value: 1 0.147865 Path: UPS.PowerSummary.PresentStatus.Discharging, Type: Input, ReportID: 0x32, Offset: 3, Size: 1, Value: 0 0.147867 Path: UPS.PowerSummary.PresentStatus.NeedReplacement, Type: Input, ReportID: 0x32, Offset: 4, Size: 1, Value: 0 0.147869 Path: UPS.PowerSummary.PresentStatus.BelowRemainingCapacityLimit, Type: Input, ReportID: 0x32, Offset: 5, Size: 1, Value: 0 0.147872 Path: UPS.PowerSummary.PresentStatus.FullyCharged, Type: Input, ReportID: 0x32, Offset: 6, Size: 1, Value: 1 0.147874 Path: UPS.PowerSummary.PresentStatus.FullyDischarged, Type: Input, ReportID: 0x32, Offset: 7, Size: 1, Value: 0 0.147876 Path: UPS.PowerSummary.PresentStatus.ShutdownImminent, Type: Feature, ReportID: 0x32, Offset: 0, Size: 1, Value: 0 0.147879 Path: UPS.PowerSummary.PresentStatus.ACPresent, Type: Feature, ReportID: 0x32, Offset: 1, Size: 1, Value: 1 0.147881 Path: UPS.PowerSummary.PresentStatus.Charging, Type: Feature, ReportID: 0x32, Offset: 2, Size: 1, Value: 1 0.147883 Path: UPS.PowerSummary.PresentStatus.Discharging, Type: Feature, ReportID: 0x32, Offset: 3, Size: 1, Value: 0 0.147885 Path: UPS.PowerSummary.PresentStatus.NeedReplacement, Type: Feature, ReportID: 0x32, Offset: 4, Size: 1, Value: 0 0.147888 Path: UPS.PowerSummary.PresentStatus.BelowRemainingCapacityLimit, Type: Feature, ReportID: 0x32, Offset: 5, Size: 1, Value: 0 0.147907 Path: UPS.PowerSummary.PresentStatus.FullyCharged, Type: Feature, ReportID: 0x32, Offset: 6, Size: 1, Value: 1 0.147910 Path: UPS.PowerSummary.PresentStatus.FullyDischarged, Type: Feature, ReportID: 0x32, Offset: 7, Size: 1, Value: 0 0.148547 Path: UPS.BatterySystem.Battery.ConfigVoltage, Type: Feature, ReportID: 0x04, Offset: 0, Size: 16, Value: 24 0.149024 Path: UPS.BatterySystem.Battery.PresentStatus.Charging, Type: Feature, ReportID: 0x23, Offset: 0, Size: 1, Value: 1 0.149032 Path: UPS.BatterySystem.Battery.PresentStatus.Discharging, Type: Feature, ReportID: 0x23, Offset: 1, Size: 1, Value: 0 0.149038 Path: UPS.BatterySystem.Battery.PresentStatus.NeedReplacement, Type: Feature, ReportID: 0x23, Offset: 2, Size: 1, Value: 0 0.149538 Path: UPS.BatterySystem.Test, Type: Feature, ReportID: 0x10, Offset: 0, Size: 8, Value: 0 0.149957 Path: UPS.Flow.ConfigVoltage, Type: Feature, ReportID: 0x01, Offset: 0, Size: 8, Value: 120 0.150571 Path: UPS.Flow.ConfigFrequency, Type: Feature, ReportID: 0x02, Offset: 0, Size: 8, Value: 60 0.150985 Path: UPS.Flow.ConfigApparentPower, Type: Feature, ReportID: 0x03, Offset: 0, Size: 16, Value: 1500 0.151543 Path: UPS.OutletSystem.Outlet.DelayBeforeShutdown, Type: Feature, ReportID: 0x15, Offset: 0, Size: 16, Value: 65535 0.152014 Path: UPS.OutletSystem.Outlet.ffff00bc, Type: Feature, ReportID: 0xe0, Offset: 0, Size: 16, Value: 0 0.152644 Path: UPS.OutletSystem.Outlet.ffff0091, Type: Feature, ReportID: 0x51, Offset: 0, Size: 8, Value: 0 0.153086 Path: UPS.OutletSystem.Outlet.TLWatchdog, Type: Feature, ReportID: 0x52, Offset: 0, Size: 8, Value: 0 0.153593 Path: UPS.OutletSystem.Outlet.ffff00c7, Type: Feature, ReportID: 0xb6, Offset: 0, Size: 8, Value: 1 0.154100 Path: UPS.TLCustom.[1].CommunicationProtocolVersion, Type: Feature, ReportID: 0x6c, Offset: 0, Size: 16, Value: 8210 0.154618 Path: UPS.TLCustom.[1].ffff00df, Type: Feature, ReportID: 0x9f, Offset: 0, Size: 32, Value: 3 0.155062 Path: UPS.ffff0015.[1].ffff00c0, Type: Feature, ReportID: 0x96, Offset: 0, Size: 8, Value: 255 0.155518 refresh_report_buffer: expected 5 bytes, but got 2 instead 0.155541 Path: UPS.ffff0015.[1].ffff00d2, Type: Feature, ReportID: 0xb4, Offset: 0, Size: 32, Value: 255 0.156015 refresh_report_buffer: expected 5 bytes, but got 2 instead 0.156023 Path: UPS.ffff0015.[1].ffff00d3, Type: Feature, ReportID: 0xb5, Offset: 0, Size: 32, Value: 255 0.156563 Path: UPS.ffff0015.[1].ffff00c1, Type: Feature, ReportID: 0x97, Offset: 0, Size: 16, Value: 255 0.157092 Path: UPS.ffff0015.[1].ffff00c2, Type: Feature, ReportID: 0x98, Offset: 0, Size: 8, Value: 255 0.157584 Path: UPS.ffff0015.[1].ffff00c3, Type: Feature, ReportID: 0x99, Offset: 0, Size: 16, Value: 255 0.158067 Path: UPS.ffff0015.[1].ffff00c5, Type: Feature, ReportID: 0x9b, Offset: 0, Size: 16, Value: 3 0.158553 Path: UPS.ffff0015.[1].ffff00d6, Type: Feature, ReportID: 0xc2, Offset: 0, Size: 32, Value: 11 0.159017 libusb_get_report: could not claim interface 0: Device or resource busy 0.159023 Can't retrieve Report c1: Device or resource busy 0.159026 Path: UPS.ffff0015.[1].ffff00d8, Type: Feature, ReportID: 0xc1, Offset: 0, Size: 32 0.159641 Path: UPS.ffff0015.[1].ffff00d7, Type: Feature, ReportID: 0xc3, Offset: 0, Size: 32, Value: 1 0.160267 libusb_get_report: could not claim interface 0: Device or resource busy 0.160273 Can't retrieve Report 9a: Device or resource busy 0.160276 Path: UPS.ffff0015.[1].ffff00c4, Type: Feature, ReportID: 0x9a, Offset: 0, Size: 32 0.161007 Path: UPS.ffff0015.[1].CommunicationVersion, Type: Feature, ReportID: 0x59, Offset: 0, Size: 32, Value: 1 0.161577 Path: UPS.BatterySystem.Battery.Voltage, Type: Feature, ReportID: 0x20, Offset: 0, Size: 16, Value: 271 0.162060 Path: UPS.PowerConverter.Input.Voltage, Type: Feature, ReportID: 0x18, Offset: 0, Size: 16, Value: 115.1 0.162758 Path: UPS.PowerConverter.Input.Frequency, Type: Feature, ReportID: 0x19, Offset: 0, Size: 16, Value: 59.9 0.163350 Path: UPS.PowerConverter.Output.Voltage, Type: Feature, ReportID: 0x1b, Offset: 0, Size: 16, Value: 115 0.163773 Path: UPS.PowerConverter.Output.ActivePower, Type: Feature, ReportID: 0x47, Offset: 0, Size: 16, Value: 0 0.164292 Path: UPS.PowerConverter.PresentStatus.VoltageOutOfRange, Type: Feature, ReportID: 0x22, Offset: 0, Size: 1, Value: 0 0.164298 Path: UPS.PowerConverter.PresentStatus.Buck, Type: Feature, ReportID: 0x22, Offset: 1, Size: 1, Value: 0 0.164301 Path: UPS.PowerConverter.PresentStatus.Boost, Type: Feature, ReportID: 0x22, Offset: 2, Size: 1, Value: 0 0.164303 Path: UPS.PowerConverter.PresentStatus.Overload, Type: Feature, ReportID: 0x22, Offset: 4, Size: 1, Value: 0 0.164305 Path: UPS.PowerConverter.PresentStatus.Used, Type: Feature, ReportID: 0x22, Offset: 5, Size: 1, Value: 0 0.164307 Path: UPS.PowerConverter.PresentStatus.OverTemperature, Type: Feature, ReportID: 0x22, Offset: 6, Size: 1, Value: 0 0.164310 Path: UPS.PowerConverter.PresentStatus.InternalFailure, Type: Feature, ReportID: 0x22, Offset: 7, Size: 1, Value: 0 0.164312 Path: UPS.PowerConverter.PresentStatus.AwaitingPower, Type: Feature, ReportID: 0x22, Offset: 14, Size: 1, Value: 0 0.164733 Path: UPS.OutletSystem.Outlet.DelayBeforeReboot, Type: Feature, ReportID: 0x17, Offset: 0, Size: 16, Value: 65535 0.165291 Path: UPS.OutletSystem.Outlet.PercentLoad, Type: Feature, ReportID: 0x1e, Offset: 0, Size: 8, Value: 0 0.165302 Report descriptor retrieved (Reportlen = 662) 0.165303 Found HID device 0.165305 Detected a UPS: Tripp Lite /Tripp Lite UPS 0.165317 Path: UPS.PowerSummary.RemainingCapacity, Type: Feature, ReportID: 0x34, Offset: 0, Size: 8, Value: 100 0.165344 Path: UPS.PowerSummary.RunTimeToEmpty, Type: Feature, ReportID: 0x35, Offset: 0, Size: 16, Value: 3840 0.165349 Path: UPS.BatterySystem.Battery.ConfigVoltage, Type: Feature, ReportID: 0x04, Offset: 0, Size: 16, Value: 24 0.165367 Path: UPS.BatterySystem.Battery.Voltage, Type: Feature, ReportID: 0x20, Offset: 0, Size: 16, Value: 271 0.165372 Path: UPS.PowerSummary.iDeviceChemistry, Type: Feature, ReportID: 0x2a, Offset: 0, Size: 8, Value: 4 0.166447 Path: UPS.OutletSystem.Outlet.DelayBeforeShutdown, Type: Feature, ReportID: 0x15, Offset: 0, Size: 16, Value: 65535 0.166455 Path: UPS.OutletSystem.Outlet.DelayBeforeReboot, Type: Feature, ReportID: 0x17, Offset: 0, Size: 16, Value: 65535 0.166460 Path: UPS.BatterySystem.Test, Type: Feature, ReportID: 0x10, Offset: 0, Size: 8, Value: 0 0.166463 Path: UPS.PowerSummary.AudibleAlarmControl, Type: Feature, ReportID: 0x11, Offset: 0, Size: 8, Value: 2 0.166468 Path: UPS.Flow.ConfigApparentPower, Type: Feature, ReportID: 0x03, Offset: 0, Size: 16, Value: 1500 0.166481 Path: UPS.PowerConverter.Output.ActivePower, Type: Feature, ReportID: 0x47, Offset: 0, Size: 16, Value: 0 0.166504 Path: UPS.OutletSystem.Outlet.PercentLoad, Type: Feature, ReportID: 0x1e, Offset: 0, Size: 8, Value: 0 0.166526 Path: UPS.OutletSystem.Outlet.TLWatchdog, Type: Feature, ReportID: 0x52, Offset: 0, Size: 8, Value: 0 0.166532 Path: UPS.PowerSummary.PresentStatus.ShutdownImminent, Type: Feature, ReportID: 0x32, Offset: 0, Size: 1, Value: 0 0.166551 Path: UPS.PowerSummary.PresentStatus.ACPresent, Type: Feature, ReportID: 0x32, Offset: 1, Size: 1, Value: 1 0.166557 Path: UPS.PowerSummary.PresentStatus.BelowRemainingCapacityLimit, Type: Feature, ReportID: 0x32, Offset: 5, Size: 1, Value: 0 0.166575 Path: UPS.PowerSummary.PresentStatus.FullyCharged, Type: Feature, ReportID: 0x32, Offset: 6, Size: 1, Value: 1 0.166596 Path: UPS.PowerSummary.PresentStatus.Charging, Type: Feature, ReportID: 0x32, Offset: 2, Size: 1, Value: 1 0.166601 Path: UPS.PowerSummary.PresentStatus.Discharging, Type: Feature, ReportID: 0x32, Offset: 3, Size: 1, Value: 0 0.166619 Path: UPS.PowerSummary.PresentStatus.FullyDischarged, Type: Feature, ReportID: 0x32, Offset: 7, Size: 1, Value: 0 0.166625 Path: UPS.PowerSummary.PresentStatus.NeedReplacement, Type: Feature, ReportID: 0x32, Offset: 4, Size: 1, Value: 0 0.166661 Path: UPS.PowerConverter.PresentStatus.VoltageOutOfRange, Type: Feature, ReportID: 0x22, Offset: 0, Size: 1, Value: 0 0.166666 Path: UPS.PowerConverter.PresentStatus.Buck, Type: Feature, ReportID: 0x22, Offset: 1, Size: 1, Value: 0 0.166669 Path: UPS.PowerConverter.PresentStatus.Boost, Type: Feature, ReportID: 0x22, Offset: 2, Size: 1, Value: 0 0.166686 Path: UPS.PowerConverter.PresentStatus.Overload, Type: Feature, ReportID: 0x22, Offset: 4, Size: 1, Value: 0 0.166691 Path: UPS.PowerConverter.PresentStatus.OverTemperature, Type: Feature, ReportID: 0x22, Offset: 6, Size: 1, Value: 0 0.166708 Path: UPS.PowerConverter.PresentStatus.InternalFailure, Type: Feature, ReportID: 0x22, Offset: 7, Size: 1, Value: 0 0.166711 Path: UPS.PowerConverter.PresentStatus.AwaitingPower, Type: Feature, ReportID: 0x22, Offset: 14, Size: 1, Value: 0 0.166730 Path: UPS.PowerSummary.Input.ConfigVoltage, Type: Feature, ReportID: 0x30, Offset: 0, Size: 8, Value: 120 0.166737 Path: UPS.PowerConverter.Input.Voltage, Type: Feature, ReportID: 0x18, Offset: 0, Size: 16, Value: 115.1 0.166742 Path: UPS.PowerConverter.Input.Frequency, Type: Feature, ReportID: 0x19, Offset: 0, Size: 16, Value: 59.9 0.166754 Path: UPS.Flow.ConfigVoltage, Type: Feature, ReportID: 0x01, Offset: 0, Size: 8, Value: 120 0.166759 Path: UPS.PowerConverter.Output.Voltage, Type: Feature, ReportID: 0x1b, Offset: 0, Size: 16, Value: 115 0.166779 Path: UPS.Flow.ConfigFrequency, Type: Feature, ReportID: 0x02, Offset: 0, Size: 8, Value: 60 0.166784 Path: UPS.BatterySystem.Test, Type: Feature, ReportID: 0x10, Offset: 0, Size: 8, Value: 0 0.166802 Path: UPS.BatterySystem.Test, Type: Feature, ReportID: 0x10, Offset: 0, Size: 8, Value: 0 0.166806 Path: UPS.BatterySystem.Test, Type: Feature, ReportID: 0x10, Offset: 0, Size: 8, Value: 0 0.166811 Path: UPS.OutletSystem.Outlet.DelayBeforeShutdown, Type: Feature, ReportID: 0x15, Offset: 0, Size: 16, Value: 65535 0.166817 Path: UPS.OutletSystem.Outlet.DelayBeforeShutdown, Type: Feature, ReportID: 0x15, Offset: 0, Size: 16, Value: 65535 0.166822 Path: UPS.OutletSystem.Outlet.DelayBeforeReboot, Type: Feature, ReportID: 0x17, Offset: 0, Size: 16, Value: 65535 0.166826 Path: UPS.OutletSystem.Outlet.TLWatchdog, Type: Feature, ReportID: 0x52, Offset: 0, Size: 8, Value: 0 0.166829 Path: UPS.OutletSystem.Outlet.TLWatchdog, Type: Feature, ReportID: 0x52, Offset: 0, Size: 8, Value: 0 0.166833 Path: UPS.PowerSummary.AudibleAlarmControl, Type: Feature, ReportID: 0x11, Offset: 0, Size: 8, Value: 2 0.166836 Path: UPS.PowerSummary.AudibleAlarmControl, Type: Feature, ReportID: 0x11, Offset: 0, Size: 8, Value: 2 0.166842 Path: UPS.PowerSummary.AudibleAlarmControl, Type: Feature, ReportID: 0x11, Offset: 0, Size: 8, Value: 2 0.166847 Path: UPS.PowerSummary.AudibleAlarmControl, Type: Feature, ReportID: 0x11, Offset: 0, Size: 8, Value: 2 0.166852 Path: UPS.PowerSummary.AudibleAlarmControl, Type: Feature, ReportID: 0x11, Offset: 0, Size: 8, Value: 2 0.166858 find_nut_info: unknown info type: load.on.delay 0.166863 find_nut_info: unknown info type: load.on.delay 0.166868 upsdrv_initinfo... 0.166871 upsdrv_updateinfo... 0.191278 Got 8 HID objects... 0.191284 Path: UPS.PowerSummary.PresentStatus.ShutdownImminent, Type: Input, ReportID: 0x32, Offset: 0, Size: 1, Value: 0 0.191288 Path: UPS.PowerSummary.PresentStatus.ACPresent, Type: Input, ReportID: 0x32, Offset: 1, Size: 1, Value: 1 0.191291 Path: UPS.PowerSummary.PresentStatus.Charging, Type: Input, ReportID: 0x32, Offset: 2, Size: 1, Value: 1 0.191294 Path: UPS.PowerSummary.PresentStatus.Discharging, Type: Input, ReportID: 0x32, Offset: 3, Size: 1, Value: 0 0.191296 Path: UPS.PowerSummary.PresentStatus.NeedReplacement, Type: Input, ReportID: 0x32, Offset: 4, Size: 1, Value: 0 0.191299 Path: UPS.PowerSummary.PresentStatus.BelowRemainingCapacityLimit, Type: Input, ReportID: 0x32, Offset: 5, Size: 1, Value: 0 0.191302 Path: UPS.PowerSummary.PresentStatus.FullyCharged, Type: Input, ReportID: 0x32, Offset: 6, Size: 1, Value: 1 0.191304 Path: UPS.PowerSummary.PresentStatus.FullyDischarged, Type: Input, ReportID: 0x32, Offset: 7, Size: 1, Value: 0 0.191307 Quick update... 0.191309 Path: UPS.OutletSystem.Outlet.DelayBeforeShutdown, Type: Feature, ReportID: 0x15, Offset: 0, Size: 16, Value: 65535 0.191312 Path: UPS.OutletSystem.Outlet.DelayBeforeReboot, Type: Feature, ReportID: 0x17, Offset: 0, Size: 16, Value: 65535 0.191315 Path: UPS.PowerSummary.PresentStatus.ACPresent, Type: Feature, ReportID: 0x32, Offset: 1, Size: 1, Value: 1 0.191317 Path: UPS.PowerSummary.PresentStatus.BelowRemainingCapacityLimit, Type: Feature, ReportID: 0x32, Offset: 5, Size: 1, Value: 0 0.191318 Path: UPS.PowerSummary.PresentStatus.FullyCharged, Type: Feature, ReportID: 0x32, Offset: 6, Size: 1, Value: 1 0.191322 Path: UPS.PowerSummary.PresentStatus.Charging, Type: Feature, ReportID: 0x32, Offset: 2, Size: 1, Value: 1 0.191341 Path: UPS.PowerSummary.PresentStatus.Discharging, Type: Feature, ReportID: 0x32, Offset: 3, Size: 1, Value: 0 0.191345 Path: UPS.PowerSummary.PresentStatus.FullyDischarged, Type: Feature, ReportID: 0x32, Offset: 7, Size: 1, Value: 0 0.191380 dstate_init: sock /var/run/nut/usbhid-ups-TrippLiteUPS open on fd 5 0.191387 upsdrv_updateinfo... 0.223354 Got 1 HID objects... 0.223362 Path: UPS.PowerSummary.RemainingCapacity, Type: Input, ReportID: 0x34, Offset: 0, Size: 8, Value: 100 0.223367 Quick update... 0.223371 Path: UPS.OutletSystem.Outlet.DelayBeforeShutdown, Type: Feature, ReportID: 0x15, Offset: 0, Size: 16, Value: 65535 0.223376 Path: UPS.OutletSystem.Outlet.DelayBeforeReboot, Type: Feature, ReportID: 0x17, Offset: 0, Size: 16, Value: 65535 0.223380 Path: UPS.PowerSummary.PresentStatus.ACPresent, Type: Feature, ReportID: 0x32, Offset: 1, Size: 1, Value: 1 0.223384 Path: UPS.PowerSummary.PresentStatus.BelowRemainingCapacityLimit, Type: Feature, ReportID: 0x32, Offset: 5, Size: 1, Value: 0 0.223410 Path: UPS.PowerSummary.PresentStatus.FullyCharged, Type: Feature, ReportID: 0x32, Offset: 6, Size: 1, Value: 1 0.223414 Path: UPS.PowerSummary.PresentStatus.Charging, Type: Feature, ReportID: 0x32, Offset: 2, Size: 1, Value: 1 0.223418 Path: UPS.PowerSummary.PresentStatus.Discharging, Type: Feature, ReportID: 0x32, Offset: 3, Size: 1, Value: 0 0.223420 Path: UPS.PowerSummary.PresentStatus.FullyDischarged, Type: Feature, ReportID: 0x32, Offset: 7, Size: 1, Value: 0 2.193406 upsdrv_updateinfo... 2.212018 Got 1 HID objects... 2.212026 Path: UPS.PowerSummary.RunTimeToEmpty, Type: Input, ReportID: 0x35, Offset: 0, Size: 16, Value: 3840 2.212030 Quick update... 2.212511 Path: UPS.OutletSystem.Outlet.DelayBeforeShutdown, Type: Feature, ReportID: 0x15, Offset: 0, Size: 16, Value: 65535 2.213099 Path: UPS.OutletSystem.Outlet.DelayBeforeReboot, Type: Feature, ReportID: 0x17, Offset: 0, Size: 16, Value: 65535 2.213579 Path: UPS.PowerSummary.PresentStatus.ACPresent, Type: Feature, ReportID: 0x32, Offset: 1, Size: 1, Value: 1 2.213585 Path: UPS.PowerSummary.PresentStatus.BelowRemainingCapacityLimit, Type: Feature, ReportID: 0x32, Offset: 5, Size: 1, Value: 0 2.213587 Path: UPS.PowerSummary.PresentStatus.FullyCharged, Type: Feature, ReportID: 0x32, Offset: 6, Size: 1, Value: 1 2.213590 Path: UPS.PowerSummary.PresentStatus.Charging, Type: Feature, ReportID: 0x32, Offset: 2, Size: 1, Value: 1 2.213591 Path: UPS.PowerSummary.PresentStatus.Discharging, Type: Feature, ReportID: 0x32, Offset: 3, Size: 1, Value: 0 2.213593 Path: UPS.PowerSummary.PresentStatus.FullyDischarged, Type: Feature, ReportID: 0x32, Offset: 7, Size: 1, Value: 0 4.194557 upsdrv_updateinfo... 4.200226 Got 8 HID objects... 4.200233 Path: UPS.PowerSummary.PresentStatus.ShutdownImminent, Type: Input, ReportID: 0x32, Offset: 0, Size: 1, Value: 0 4.200237 Path: UPS.PowerSummary.PresentStatus.ACPresent, Type: Input, ReportID: 0x32, Offset: 1, Size: 1, Value: 1 4.200240 Path: UPS.PowerSummary.PresentStatus.Charging, Type: Input, ReportID: 0x32, Offset: 2, Size: 1, Value: 1 4.200243 Path: UPS.PowerSummary.PresentStatus.Discharging, Type: Input, ReportID: 0x32, Offset: 3, Size: 1, Value: 0 4.200246 Path: UPS.PowerSummary.PresentStatus.NeedReplacement, Type: Input, ReportID: 0x32, Offset: 4, Size: 1, Value: 0 4.200248 Path: UPS.PowerSummary.PresentStatus.BelowRemainingCapacityLimit, Type: Input, ReportID: 0x32, Offset: 5, Size: 1, Value: 0 4.200251 Path: UPS.PowerSummary.PresentStatus.FullyCharged, Type: Input, ReportID: 0x32, Offset: 6, Size: 1, Value: 1 4.200254 Path: UPS.PowerSummary.PresentStatus.FullyDischarged, Type: Input, ReportID: 0x32, Offset: 7, Size: 1, Value: 0 4.200281 Quick update... 4.200743 Path: UPS.OutletSystem.Outlet.DelayBeforeShutdown, Type: Feature, ReportID: 0x15, Offset: 0, Size: 16, Value: 65535 4.201316 Path: UPS.OutletSystem.Outlet.DelayBeforeReboot, Type: Feature, ReportID: 0x17, Offset: 0, Size: 16, Value: 65535 4.201322 Path: UPS.PowerSummary.PresentStatus.ACPresent, Type: Feature, ReportID: 0x32, Offset: 1, Size: 1, Value: 1 4.201341 Path: UPS.PowerSummary.PresentStatus.BelowRemainingCapacityLimit, Type: Feature, ReportID: 0x32, Offset: 5, Size: 1, Value: 0 4.201344 Path: UPS.PowerSummary.PresentStatus.FullyCharged, Type: Feature, ReportID: 0x32, Offset: 6, Size: 1, Value: 1 4.201347 Path: UPS.PowerSummary.PresentStatus.Charging, Type: Feature, ReportID: 0x32, Offset: 2, Size: 1, Value: 1 4.201350 Path: UPS.PowerSummary.PresentStatus.Discharging, Type: Feature, ReportID: 0x32, Offset: 3, Size: 1, Value: 0 4.201367 Path: UPS.PowerSummary.PresentStatus.FullyDischarged, Type: Feature, ReportID: 0x32, Offset: 7, Size: 1, Value: 0 6.196604 upsdrv_updateinfo... 6.220114 Got 1 HID objects... 6.220121 Path: UPS.PowerSummary.RemainingCapacity, Type: Input, ReportID: 0x34, Offset: 0, Size: 8, Value: 100 6.220126 Quick update... 6.220669 Path: UPS.OutletSystem.Outlet.DelayBeforeShutdown, Type: Feature, ReportID: 0x15, Offset: 0, Size: 16, Value: 65535 6.221199 Path: UPS.OutletSystem.Outlet.DelayBeforeReboot, Type: Feature, ReportID: 0x17, Offset: 0, Size: 16, Value: 65535 6.221737 Path: UPS.PowerSummary.PresentStatus.ACPresent, Type: Feature, ReportID: 0x32, Offset: 1, Size: 1, Value: 1 6.221742 Path: UPS.PowerSummary.PresentStatus.BelowRemainingCapacityLimit, Type: Feature, ReportID: 0x32, Offset: 5, Size: 1, Value: 0 6.221745 Path: UPS.PowerSummary.PresentStatus.FullyCharged, Type: Feature, ReportID: 0x32, Offset: 6, Size: 1, Value: 1 6.221747 Path: UPS.PowerSummary.PresentStatus.Charging, Type: Feature, ReportID: 0x32, Offset: 2, Size: 1, Value: 1 6.221750 Path: UPS.PowerSummary.PresentStatus.Discharging, Type: Feature, ReportID: 0x32, Offset: 3, Size: 1, Value: 0 6.221767 Path: UPS.PowerSummary.PresentStatus.FullyDischarged, Type: Feature, ReportID: 0x32, Offset: 7, Size: 1, Value: 0 8.198534 upsdrv_updateinfo... 8.207589 Got 1 HID objects... 8.207596 Path: UPS.PowerSummary.RunTimeToEmpty, Type: Input, ReportID: 0x35, Offset: 0, Size: 16, Value: 3840 8.207601 Quick update... 8.208140 Path: UPS.OutletSystem.Outlet.DelayBeforeShutdown, Type: Feature, ReportID: 0x15, Offset: 0, Size: 16, Value: 65535 8.208676 Path: UPS.OutletSystem.Outlet.DelayBeforeReboot, Type: Feature, ReportID: 0x17, Offset: 0, Size: 16, Value: 65535 8.209206 Path: UPS.PowerSummary.PresentStatus.ACPresent, Type: Feature, ReportID: 0x32, Offset: 1, Size: 1, Value: 1 8.209209 Path: UPS.PowerSummary.PresentStatus.BelowRemainingCapacityLimit, Type: Feature, ReportID: 0x32, Offset: 5, Size: 1, Value: 0 8.209211 Path: UPS.PowerSummary.PresentStatus.FullyCharged, Type: Feature, ReportID: 0x32, Offset: 6, Size: 1, Value: 1 8.209214 Path: UPS.PowerSummary.PresentStatus.Charging, Type: Feature, ReportID: 0x32, Offset: 2, Size: 1, Value: 1 8.209216 Path: UPS.PowerSummary.PresentStatus.Discharging, Type: Feature, ReportID: 0x32, Offset: 3, Size: 1, Value: 0 8.209218 Path: UPS.PowerSummary.PresentStatus.FullyDischarged, Type: Feature, ReportID: 0x32, Offset: 7, Size: 1, Value: 0 10.200593 upsdrv_updateinfo... 10.226824 Got 8 HID objects... 10.226832 Path: UPS.PowerSummary.PresentStatus.ShutdownImminent, Type: Input, ReportID: 0x32, Offset: 0, Size: 1, Value: 0 10.226836 Path: UPS.PowerSummary.PresentStatus.ACPresent, Type: Input, ReportID: 0x32, Offset: 1, Size: 1, Value: 1 10.226839 Path: UPS.PowerSummary.PresentStatus.Charging, Type: Input, ReportID: 0x32, Offset: 2, Size: 1, Value: 1 10.226842 Path: UPS.PowerSummary.PresentStatus.Discharging, Type: Input, ReportID: 0x32, Offset: 3, Size: 1, Value: 0 10.226845 Path: UPS.PowerSummary.PresentStatus.NeedReplacement, Type: Input, ReportID: 0x32, Offset: 4, Size: 1, Value: 0 10.226848 Path: UPS.PowerSummary.PresentStatus.BelowRemainingCapacityLimit, Type: Input, ReportID: 0x32, Offset: 5, Size: 1, Value: 0 10.226851 Path: UPS.PowerSummary.PresentStatus.FullyCharged, Type: Input, ReportID: 0x32, Offset: 6, Size: 1, Value: 1 10.226853 Path: UPS.PowerSummary.PresentStatus.FullyDischarged, Type: Input, ReportID: 0x32, Offset: 7, Size: 1, Value: 0 10.226856 Quick update... 10.227292 Path: UPS.OutletSystem.Outlet.DelayBeforeShutdown, Type: Feature, ReportID: 0x15, Offset: 0, Size: 16, Value: 65535 10.227910 Path: UPS.OutletSystem.Outlet.DelayBeforeReboot, Type: Feature, ReportID: 0x17, Offset: 0, Size: 16, Value: 65535 10.227916 Path: UPS.PowerSummary.PresentStatus.ACPresent, Type: Feature, ReportID: 0x32, Offset: 1, Size: 1, Value: 1 10.227919 Path: UPS.PowerSummary.PresentStatus.BelowRemainingCapacityLimit, Type: Feature, ReportID: 0x32, Offset: 5, Size: 1, Value: 0 10.227921 Path: UPS.PowerSummary.PresentStatus.FullyCharged, Type: Feature, ReportID: 0x32, Offset: 6, Size: 1, Value: 1 10.227923 Path: UPS.PowerSummary.PresentStatus.Charging, Type: Feature, ReportID: 0x32, Offset: 2, Size: 1, Value: 1 10.227925 Path: UPS.PowerSummary.PresentStatus.Discharging, Type: Feature, ReportID: 0x32, Offset: 3, Size: 1, Value: 0 10.227927 Path: UPS.PowerSummary.PresentStatus.FullyDischarged, Type: Feature, ReportID: 0x32, Offset: 7, Size: 1, Value: 0 ...................... etc....... Thanks, Neil / -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.alioth.debian.org/pipermail/nut-upsuser/attachments/20170820/4cac6605/attachment-0001.html>
Charles Lepple
2017-Aug-21 12:33 UTC
[Nut-upsuser] TrippLite SMART1500LCD no delay before ups shutdown.
[when responding, please use reply-all - the list does not mangle the reply-to header]> On Aug 21, 2017, at 12:45 AM, Whiteshell Tech <neil at whiteshell-tech.com> wrote: > > I have attempted to set the delay higher using "upsrw -s ups.delay.shutdown=120 TrippLiteUPS at localhost" and confirmed the value with "upsc TrippLiteUPS at 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 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?
Charles Lepple
2017-Aug-21 12:40 UTC
[Nut-upsuser] TrippLite SMART1500LCD no delay before ups shutdown.
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.
Whiteshell Tech
2017-Aug-21 15:08 UTC
[Nut-upsuser] TrippLite SMART1500LCD no delay before ups shutdown.
>> On Aug 21, 2017, at 12:45 AM, Whiteshell Tech <neil at whiteshell-tech.com> wrote: >> >> I have attempted to set the delay higher using "upsrw -s ups.delay.shutdown=120 TrippLiteUPS at localhost" and confirmed the value with "upsc TrippLiteUPS at 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. :)
Charles Lepple
2017-Aug-21 23:56 UTC
[Nut-upsuser] TrippLite SMART1500LCD no delay before ups shutdown.
On Aug 21, 2017, at 1:35 PM, Whiteshell Tech <neil at whiteshell-tech.com> wrote:> > I ran it again on battery and upsd running, set upsrw ok and then shutdown.return gave an "ERR CMD-NOT-SUPPORTED" Odd thing is after running that I am getting random timed ups powering off for one or two seconds then turns back on even on battery. Server then starts shutting down. Some times its right away sometimes after 4+ minutes.That is going to be hard to diagnose without the usbhid-ups logs for the time when those commands are sent - can you try to keep the log going while sending them, then note the time when the command was sent? You can use the "tee" command: /lib/nut/usbhid-ups -DD -a TrippLiteUPS 2>&1 | tee /tmp/log.shutdown.return.txt (please use gzip before attaching the log - the mailing list does not accept messages over 40kB without manual intervention.)> I did notice that that return.shutdown was not found in the list running "upscmd -l TrippLiteUPS". I did see "load.off.delay" which also if I give a value of 60 (or any other value) it shuts down in 20sec and stays off either on battery or online. ups does come back on if i replug the ups.I think the load.off.delay behavior is expected, but I really thought the others should honor the delay variables. Will have to look further.> > > I am setting up a test computer with fresh Debian 9 for testing to see if all my issues are still there without every thing else. > > Thanks for taking the time when you have some. > > > root at host:~# upscmd -l TrippLiteUPS > Instant commands supported on UPS [TrippLiteUPS]: > > 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) > reset.watchdog - Reset watchdog timer > 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 > > > > root at host:~# upsrw -s ups.delay.shutdown=60 TrippLiteUPS at localhost > Username (root): upsmon > Password: > OK > > root at host:~# upscmd TrippLiteUPS shutdown.return > Username (root): upsmon > Password: > Unexpected response from upsd: ERR CMD-NOT-SUPPORTED >log trimmed; appears to be the same as before?
Whiteshell Tech
2017-Aug-22 03:17 UTC
[Nut-upsuser] TrippLite SMART1500LCD no delay before ups shutdown.
> That is going to be hard to diagnose without the usbhid-ups logs for the time when those commands are sent - can you try to keep the log going while sending them, then note the time when the command was sent? You can use the "tee" command: > > /lib/nut/usbhid-ups -DD -a TrippLiteUPS 2>&1 | tee /tmp/log.shutdown.return.txt > > (please use gzip before attaching the log - the mailing list does not accept messages over 40kB without manual intervention.)Sorry, I think there was a mistake on my part and for the large messages :) When I originally tried to run "/lib/nut/usbhid-ups -DD -a TrippLiteUPS" It complained about other drivers running and did not show any logging of commands given to the driver. So I have been now stopping nut-driver before running that command. After starting the logging then running both upsrw and upscmd I would ctl+c the logging leaving no driver running. I now realize that only a little while after canceling the logging is when NUT decided to shut down the server.If I leave the logging going it does not shutdown. I am assuming that is supposed to do that when no driver is seen running for awhile just incase?? And in that case is not part of my original no delay issue? I have run it again and it looks like ups.shutdown.delay changes show in the log @ 28.068836. But no mention at all in the log of shutdown.return run @ 80.951272. Just the same "ERR CMD-NOT-SUPPORTED" when attempting to run it.> I think the load.off.delay behavior is expected, but I really thought the others should honor the delay variables. Will have to look further. > log trimmed; appears to be the same as before?Yes looks about the same. Also I did a test on new installs of debian 8 and debian 9. Both worked as expected except for the delay variables are still being ignored and "ERR CMD-NOT-SUPPORTED" when running "upscmd TrippLiteUPS at localhost shutdown.return". NOTE: The issue of having to add a systemd service in my first post seems to be a proxmox issue, so I will look into that issue else where. -------------- next part -------------- A non-text attachment was scrubbed... Name: log.shutdown.return.txt.gz Type: application/gzip Size: 5020 bytes Desc: not available URL: <http://lists.alioth.debian.org/pipermail/nut-upsuser/attachments/20170821/79cc0155/attachment-0001.bin>
Possibly Parallel Threads
- Tripp Lite SMART1500LCD repeatedly disconnecting and reconnecting
- Tripp-Lite BCPERS450 shutdown/restart problems
- Tripp Lite SMART1500LCD will not stay shut down when power is disconnected
- Tripp-Lite BCPERS450 shutdown/restart problems
- Unknown product ID for Tripp-Lite UPS (SU1500RTXL2UA)