OpenWrt: add temperature sensors and fix wireless sensor discovery - consolidated#19345
Closed
perceival wants to merge 1 commit intolibrenms:masterfrom
Closed
OpenWrt: add temperature sensors and fix wireless sensor discovery - consolidated#19345perceival wants to merge 1 commit intolibrenms:masterfrom
perceival wants to merge 1 commit intolibrenms:masterfrom
Conversation
This was referenced Mar 28, 2026
Open
fd5eef7 to
59ad303
Compare
59ad303 to
1ae933c
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Enables automatic temperature sensor discovery for OpenWrt devices using LM-SENSORS-MIB. Currently, LibreNMS only discovers this MIB on Linux systems, but many OpenWrt devices (especially ARM routers/APs) expose thermal sensors via the same standard MIB. This adds OpenWrt-specific discovery support, allowing automatic monitoring of thermal_zone sensors without requiring custom configuration.
Change is linked with librenms/librenms-agent#613
This is consolidated version of #19043
Checklist Updates:
[yes] Have you followed our code guidelines?
-[n/a] If my Pull Request does some changes/fixes/enhancements in the WebUI, I have inserted a screenshot of it.
If my Pull Request makes discovery/polling/yaml changes, I have added/updated test data.
Note on test data: Test data can be provided if requested by maintainers. Tested on actual OpenWrt devices with Qualcomm Atheros IPQ8065, MediaTek MT7981 and Qualcomm IPQ8074 SoCs (1-11 thermal zones).