Sensors gone after upgrading Ubiquti / Unifi switches to firmware 4.0.14.9736

Hi!

After upgrading my Ubiquiti switches to firmware 4.0.14.9736 I lost some sensors in LibreNMS. Previous firmware was 3.9.54.9373 and was able to display multiple temperature sensors and CPU usage. Please note the output from LibreNMS webgui log below.

Release notes from 4.0.14.3976: https://community.ubnt.com/t5/UniFi-Updates-Blog/FIRMWARE-4-0-14-9736-for-UAP-USW-has-been-released-Stable/ba-p/2610088

Any thoughts? Thanks!

2019-01-02 00:55:05 sensor sw-tvattstuga Sensor Deleted: state boxServicesTempUnitEntry boxServicesTempUnitState.1 Chassis state System
2019-01-02 00:55:05 sensor sw-tvattstuga Sensor Deleted: state boxServicesTempSensorsEntry boxServicesTempSensorState.1.0 Temp Sensor 1.0 System
2019-01-02 00:55:05 sensor sw-tvattstuga Sensor Deleted: state boxServicesTempSensorsEntry boxServicesTempSensorState.1.1 Temp Sensor 1.1 System
2019-01-02 00:55:05 sensor sw-tvattstuga Sensor Deleted: state boxServicesTempSensorsEntry boxServicesTempSensorState.1.2 Temp Sensor 1.2 System
2019-01-02 00:55:05 sensor sw-tvattstuga Sensor Deleted: state boxServicesTempSensorsEntry boxServicesTempSensorState.1.3 Temp Sensor 1.3 System
2019-01-02 00:55:05 sensor sw-tvattstuga Sensor Deleted: temperature edgeswitch boxServicesTempSensorTemperature.1.0 Temperature 1.0 System
2019-01-02 00:55:05 sensor sw-tvattstuga Sensor Deleted: temperature edgeswitch boxServicesTempSensorTemperature.1.1 Temperature 1.1 System
2019-01-02 00:55:05 sensor sw-tvattstuga Sensor Deleted: temperature edgeswitch boxServicesTempSensorTemperature.1.2 Temperature 1.2 System
2019-01-02 00:55:05 sensor sw-tvattstuga Sensor Deleted: temperature edgeswitch boxServicesTempSensorTemperature.1.3 Temperature 1.3 System
2019-01-02 00:55:04 processors sw-tvattstuga Processor Removed: edgeswitch 0 Processor System
2019-01-02 00:52:02 alert sw-tvattstuga Issued critical alert for rule ‘Sensor under limit’ to transport ‘telegram’ System
2019-01-02 00:50:23 system sw-tvattstuga OS Version -> 4.0.10.9653 System

Output from validate.php:

./validate.php`

validate.php

Component Version
LibreNMS 1.47-12-g506f48d
DB Schema 278
PHP 7.1.25-1+ubuntu14.04.1+deb.sury.org+1
MySQL 5.5.62-0ubuntu0.14.04.1
RRDTool 1.4.7
SNMP NET-SNMP 5.7.2

====================================

[OK] Composer Version: 1.8.0
[OK] Dependencies up-to-date.
[OK] Database connection successful
[OK] Database schema correct
[WARN] Your RRD directory is owned by root, please consider changing over to user a non-root user
[WARN] Your local git contains modified files, this could prevent automatic updates.
[FIX]:
You can fix this with ./scripts/github-remove
Modified Files:
logs/.gitignore

Output from discovery.php and poller.php:

./discovery.php
https://p.libren.ms/view/4b01fafb

./poller.php
https://p.libren.ms/view/3a648136

Regards,
Fredrik.

In the upgrade, ubiquiti removed the sensors from the oids we ask for. I think someone was working on searching the new oids.

Thanks for the update Doc.

Would be great to see if the values are still there with other oids. Let me know if I could provide any further details. Maybe I could start a thread at the Ubiquiti forum as well (if there’s not already a thread about it).

Add feedback here:
https://community.ubnt.com/t5/UniFi-Routing-Switching/UniFi-Switch-temperature-monitoring/m-p/2618876#M125538
or here:
https://community.ubnt.com/t5/UniFi-Routing-Switching/SNMP-temp-data-for-small-switch-devices/m-p/2598987#M122433