It appears that a large number of sensors that reported correctly with TrueNAS Core are either not reporting with Scale, or are reporting 0. Sensors for CPU load and interface bandwidth(s) show at 0. Other sensors (largely related to storage (free, used, drive data) seem to report correctly. In running debug, I see the 'interface, get' query, and there is significant data in the response (interface names, MTU, rx and tx queues, and a bunch of booleans (ipv4_dhcp etc), but I dont see bandwidth. Im not sure if the data isnt being reported via 'interface, get', or if the parser isnt handling that properly.
How to reproduce the issue
Nothing special required- simply install/link via API to Scale 23.10.1 and enable logging, or check the various sensor data reported
Describe the issue
It appears that a large number of sensors that reported correctly with TrueNAS Core are either not reporting with Scale, or are reporting 0. Sensors for CPU load and interface bandwidth(s) show at 0. Other sensors (largely related to storage (free, used, drive data) seem to report correctly. In running debug, I see the 'interface, get' query, and there is significant data in the response (interface names, MTU, rx and tx queues, and a bunch of booleans (ipv4_dhcp etc), but I dont see bandwidth. Im not sure if the data isnt being reported via 'interface, get', or if the parser isnt handling that properly.
How to reproduce the issue
Nothing special required- simply install/link via API to Scale 23.10.1 and enable logging, or check the various sensor data reported
Expected behavior
Screenshots
Software versions
Diagnostics data
2024-01-01 17:17:13.160 DEBUG (SyncWorker_7) [custom_components.truenas.truenas_api] TrueNAS 10.1.1.6 query: interface, get, {} 2024-01-01 17:17:13.394 DEBUG (SyncWorker_7) [custom_components.truenas.truenas_api] TrueNAS 10.1.1.6 query response: [{'id': 'enp4s0', 'name': 'enp4s0', 'fake': False, 'type': 'PHYSICAL', 'state': {'name': 'enp4s0', 'orig_name': 'enp4s0', 'description': 'enp4s0', 'mtu': 1500, 'cloned': False, 'flags': ['RUNNING', 'UP', 'BROADCAST', 'MULTICAST', 'LOWER_UP'], 'nd6_flags': ['HOMEADDRESS'], 'capabilities': ['tx-checksum-ipv4', 'tx-checksum-ipv6', 'tx-vlan-hw-insert', 'rx-vlan-hw-parse', 'rx-gro', 'rx-checksum'], 'link_state': 'LINK_STATE_UP', 'media_type': 'Ethernet', 'media_subtype': 'autoselect', 'active_media_type': 'Ethernet', 'active_media_subtype': '1000Mb/s Twisted Pair', 'supported_media': ['10baseT/Half', '10baseT/Full', '100baseT/Half', '100baseT/Full', '1000baseT/Half', '1000baseT/Full'], 'media_options': None, 'link_address': 'f4:1d:04:d2:03:5b', 'aliases': [{'type': 'INET', 'address': '10.1.1.16', 'netmask': 24, 'broadcast': '10.1.1.255'}, {'type': 'LINK', 'address': 'f4:1d:04:d2:01:5b'}], 'vrrp_config': None, 'rx_queues': 1, 'tx_queues': 1}, 'aliases': [], 'ipv4_dhcp': True, 'ipv6_auto': False, 'description': '', 'mtu': 1500}]
2024-01-01 17:17:13.402 DEBUG (SyncWorker_3) [custom_components.truenas.truenas_api] TrueNAS 10.1.1.6 query: reporting/get_data, post, {'graphs': [{'name': 'load'}, {'name': 'cputemp'}, {'name': 'cpu'}, {'name': 'arcsize'}, {'name': 'arcratio'}, {'name': 'memory'}, {'name': 'interface', 'identifier': 'enp4s0'}], 'reporting_query': {'start': 'now-90s', 'end': 'now-30s', 'aggregate': True}} 2024-01-01 17:17:13.564 WARNING (SyncWorker_3) [custom_components.truenas.truenas_api] TrueNAS 10.1.1.6 unable to fetch data "reporting/get_data" (422)
Traceback/Error logs
Additional context