[Nut-upsuser] TrippLite SMART1500LCD no delay before ups shutdown.

Whiteshell Tech neil at whiteshell-tech.com
Mon Aug 21 04:45:11 UTC 2017


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>


More information about the Nut-upsuser mailing list