UPS SNMP works on TrueNAS Core but not on Scale with same settings
Description
Problem/Justification
Impact
Activity

Michelle Johnson June 29, 2022 at 11:55 AM
User found the solution to the configuration issue and when they upgraded the other issue was resolved.
Harry Wu June 28, 2022 at 9:05 PM
Hi Bonnie,
I would love to help with the ixsystem development and bug fix.
However, on our main server, due to some policy, I cannot provide the debug log at this time.
I am happy to report that on our non-production server, a freshly installed TrueNas Scale 22.02.2 doesn't have the same issue (the issue happened on 22.02.1).
I guess that the latest version (released a couple weeks ago) already fixed the issue.
You may close this ticket now.
Thank you very much.

Bonnie Follweiler June 23, 2022 at 12:48 PM
Thank you for the report, .
Can you please attach a debug file to the "Private Attachments" section of this ticket?
To generate a debug file on TrueNAS SCALE, log in to the TrueNAS web interface, go to System Settings > Advanced, then click Save Debug and wait for the file to download to your local system.
Harry Wu June 23, 2022 at 3:47 AMEdited
Fixed this issue when I found this post.
Thanks!
upsc UPSNAME command can now returns ups status.
But the Reporting - UPS graph doesn't seems to work.
Details
Details
Assignee

UPS: Eaton 9PX with NMC card
SNMP v1 and v3 are turned on and v1 has public account (read only) activated.
v3 has readuser activated and password protected.
The Core TrueNAS-13.0-RELEASE is installed on a TrueNAS Mini XL+
The Scale TrueNAS-SCALE-22.02.1 is instaled on a Lenovo SR655 server
Both uses Mellnox SFP28 25G NIC and connect to a switch.
ping UPS ip address works on both Core and Scale from Shell.
TrueNAS Scale/Debain: /etc/nut
TrueNAS Core: /etc/local/nut
I have checked all conf files in /nut folder on both Core and Scale.
They are exactally the same.
The Core
upsc UPS2_Eaton9PX
returns the UPS status info.
But the Scale returns Connection refused.
ups.conf
[UPS2_Eaton9PX]
driver = snmp-ups
port = 192.168.101.22:161
upsd.user
[readuser]
password = xxxx
upsmon master
public