Reporting UPS graphs blank when NUT runs as a slave on nas.

Description

Hi,

I run NUT (Network UPS Tools) server on different machine the UPS is connected to with usb cable. Connecting nas to it via UI seems straightforward, and running "upsc ups@zero.lan" returns correct values, ie:

battery.charge: 100
battery.charge.low: 10
battery.charge.warning: 50
battery.date: 2001/09/25
battery.mfr.date: 2019/06/15
battery.runtime: 1012
battery.runtime.low: 120
battery.type: PbAc
battery.voltage: 27.3
battery.voltage.nominal: 24.0
device.mfr: American Power Conversion
device.model: Back-UPS XS 1400U
device.serial: [REDACTED]
device.type: ups
driver.name: usbhid-ups
driver.parameter.pollfreq: 30
driver.parameter.pollinterval: 2
driver.parameter.port: auto
driver.parameter.synchronous: no
driver.version: 2.7.4
driver.version.data: APC HID 0.96
driver.version.internal: 0.41
input.sensitivity: medium
input.transfer.high: 280
input.transfer.low: 155
input.voltage: 240.0
input.voltage.nominal: 230
ups.beeper.status: enabled
ups.delay.shutdown: 20
ups.firmware: 926.T2 .I
ups.firmware.aux: T2
ups.load: 33
ups.mfr: American Power Conversion
ups.mfr.date: 2019/06/15
ups.model: Back-UPS XS 1400U
ups.productid: 0002
ups.realpower.nominal: 700
ups.serial: [REDACTED]
ups.status: OL
ups.test.result: No test initiated
ups.timer.reboot: 0
ups.timer.shutdown: -1
ups.vendorid: 051d

However the graphs in Reporting / UPS remain blank, showing correct timespan, with values listed as "null".

If NUT runs in master mode on nas this of course makes the graphs work, but it's not viable for me to have the ups near the nas.

Problem/Justification

None

Impact

None

Activity

Show:

Bug Clerk September 3, 2021 at 4:33 PM

John Doe September 1, 2021 at 2:51 PM

Just had a power outage and after the power came back up received this email from nas, confirming the ups connection is ok:

NOTIFICATION: 'ONLINE'

UPS: 'ups'

Statistics recovered:

1) Battery charge (percent)
battery.charge: 84

2) Battery level remaining (percent) when UPS switches to Low Battery (LB)
battery.charge.low: 10

3) Battery runtime (seconds)
battery.runtime: 812

4) Battery runtime remaining (seconds) when UPS switches to Low Battery (LB)
battery.runtime.low: 120

John Doe August 26, 2021 at 5:02 PM

Here's the collectd.conf:

I've ran the command, it outputted True. After 5 minutes I checked the graphs, they are still empty. Attached screenshot and latest debug.

Waqar August 26, 2021 at 4:01 PM

Also please do run the following command and then after around 5 minutes please make sure that the reporting graphs are still not there and in that case can you please share a newer debug of the system then ? If they happen to show up, please do let me know still

Waqar August 26, 2021 at 3:56 PM

Thank you for sharing the newer debug, can you please share the contents of the "/etc/local/collectd.conf" file ? ( you can do so with "cat /etc/local/collectd.conf" )

Complete

Details

Assignee

Reporter

Labels

Time remaining

0m

Components

Fix versions

Affects versions

Priority

Katalon Platform

Created August 15, 2021 at 11:16 AM
Updated July 6, 2022 at 8:59 PM
Resolved September 14, 2021 at 4:40 PM