I have BananaPi BPI-R3 router with ups connected to it via usb. Router has configured NUT and nut-web-cgi. But I want to gather some statistics from my ups. So I installed Collectd and collectd-mod-nut. Version of collectd: 5.12.0-41
But collectd-mod-nut doesn't show any statistics. However I can see these entries in system log:
Sun Jan 22 14:05:29 2023 daemon.err collectd[2691]: nut plugin: nut_read: upscli_list_start (ups) failed: Write error: Broken pipe
Sun Jan 22 14:05:29 2023 daemon.err collectd[2691]: read-function of plugin `nut/ups@127.0.0.1:3494' failed. Will suspend it for 120.000 seconds.
Sun Jan 22 14:06:10 2023 daemon.err collectd[2691]: nut plugin: Connection to (127.0.0.1, 3494) established.
Sun Jan 22 14:06:10 2023 daemon.err collectd[2691]: nut plugin: Connection is unsecured (no SSL).
So collectd-mod-nut actually connects to the UPS. But I can't see any statistics from it.
In same time nut-web-cgi application properly shows UPS current status, power levels etc. Tried to create different port for nut-server (3493 for nut-web-cgi and 3494 for collectd-mod-nut) - no effect.
Current nut-web-cgi info:
No UPS statistics: