Telemetry widget fails to load on dashboard

Started by MaxMax99, September 14, 2025, 12:22:02 PM

Previous topic - Next topic
Hi,

I have telemetry enabled for the ET Pro ruleset, but the telemetry widget fails to load with this error in the backend logs.

I'm running OPNsense in a VM for tesing and I am on the Dev branch.

Thanks for your help.


Can you run that command in single quotes manually and see what it complains about?


Cheers,
Franco

Sure, here's what it complains about (the screenshot is too large to be uploaded here) :

"root@ClosedSense:~ # /usr/local/opnsense/scripts/etpro_telemtry/sensor_info.py

Traceback (most recent call last):
  File "/usr/local/opnsense/scripts/etpro_telemtry/sensor_info.py", line 33, in <module>
    import telemetry
  File "/usr/local/opnsense/scripts/etpro_telemtry/telemetry/__init__.py", line 34, in <module>
    import netaddr
ModuleNotFoundError: No module named 'netaddr'
root@ClosedSense:~ # "

To my surprise you seem to be using the development version (and checking again you said so, sorry for not seeing it earlier) and it was already fixed for upcoming 25.7.4 but it also didn't break in 25.7.3:

https://github.com/opnsense/plugins/commit/877ebf20e

That's not patchable, but you can use the following for now:

# pkg install -A py311-netaddr

The -A is for automatic. If you perform an update it may be removed again but in 25.7.4 the commit above will cause the dependency to be registered again.


Cheers,
Franco