UPS found, demon running but nothing in data reporting

Hi

I am on a mission to resolve a number of odd issues that have proved too difficult to quickly solve. One of these is UPS monitoring in the reports of Truenas Scale, now running the latest 25.10.3.1

There have been a few threads on this that I have found, but none have addressed this issue, hence the new topic.

I have an APC SRT3000 directly connected to my server via USB running bare metal Scale 25.10.3.1. The service is running fine with no errors, as a Master device with the identifier of "ups” ( I know this was an issue in another thread).

From the shell, it all looks good

upsc ups@localhost:6547
Init SSL without certificate database
battery.charge: 100
battery.charge.low: 10
battery.charge.warning: 50
battery.runtime: 0
battery.runtime.low: 300
battery.type: PbAc
battery.voltage: 108.8
battery.voltage.nominal: 96.0
device.mfr: American Power Conversion
device.model: Smart-UPS SRT
device.type: ups
driver.name: usbhid-ups
driver.parameter.pollfreq: 30
driver.parameter.pollinterval: 2
driver.parameter.port: auto
driver.parameter.synchronous: auto
driver.version: 2.8.0
driver.version.data: APC HID 0.98
driver.version.internal: 0.47
driver.version.usb: libusb-1.0.26 (API: 0x1000109)
ups.beeper.status: enabled
ups.delay.shutdown: 20
ups.firmware: UPS 16.1 / ID=1043
ups.mfr: American Power Conversion
ups.mfr.date: 2023/08/09
ups.model: Smart-UPS SRT
ups.productid: 0003
ups.status: OL
ups.timer.reboot: -1
ups.timer.shutdown: 65535
ups.vendorid: 051d

And scale responds to a power outage, however, I get no reporting at all.

Would welcome any help please, is this a long standing bug?

Thanks

CC

According to the NUT documentation, you’re using the wrong driver, which explains the lack of netdata graphs. You should use the snmp-ups driver instead of the usbhid-ups driver, with configuration parameters set in the ups.conf Auxiliary parameters box.

1 Like

Your right about that UPS, it normally has the ethernet card, this one just has a USB port which as I said its directly connected via USB, so not sure SNMP driver is going to work.

Additionally other reports in that NUT site suggest its fine with the APC Smart UPS driver.

Also, not sure why would that explain the blank charts - im not having connectivity issues

Is this a known limitation then with truenas scale, that charts only work with snmp drivers?

Thanks

CC

No, this is basically due to the old version of NUT that’s bundled with Scale. Try a different UPS driver.

That’s not possible - its either usbhid-ups or snmp-ups for APC units. What is it with this driver then that means just the charts fail - sorry, I still don’t understand, communication is fine.

Thanks

CC