Summary
This issue tracks the need for improved LibreNMS agent support on OpenWrt routers, covering two areas:
- Temperature monitoring via a new
lm-sensors-pass.sh SNMP pass script that walks the LM-SENSORS-MIB subtree using thermal zone data from /sys/class/thermal/.
- Wireless sensor hardening — live interface discovery from hostapd/iwinfo, MAC-based client counting with MLO/MLD deduplication, and fallback paths for client-mode interfaces across
wlInterfaces.sh, wlClients.sh, wlRate.sh, wlNoiseFloor.sh, wlSNR.sh, wlFrequency.sh.
- Automated SNMP setup —
setup-snmpd.sh and snmpd-config-generator.sh replace the previous static config approach with an install/apply workflow that cleanly manages LibreNMS-owned config blocks without duplicating them.
Implementation
A complete implementation is ready in PR #613, including:
The agent PR was originally submitted as #595, rebuilt from scratch incorporating reviewer feedback, and has been open since March 13 without a review. Two pings to @VVelox have gone unanswered.
Opening this issue to make the request visible to other maintainers and get a sense of whether the scope/approach is acceptable before the PRs go stale.
Why this matters
OpenWrt is widely used as the OS for home and SMB routers. Without these agent scripts, LibreNMS can monitor OpenWrt devices via standard SNMP but misses thermal alerts and meaningful wireless metrics (per-interface client counts, signal quality, noise floor). The gap is particularly relevant for Wi-Fi 6/6E deployments where MLO creates duplicate MAC appearances that naive counting gets wrong.
Related
Summary
This issue tracks the need for improved LibreNMS agent support on OpenWrt routers, covering two areas:
lm-sensors-pass.shSNMP pass script that walks the LM-SENSORS-MIB subtree using thermal zone data from/sys/class/thermal/.wlInterfaces.sh,wlClients.sh,wlRate.sh,wlNoiseFloor.sh,wlSNR.sh,wlFrequency.sh.setup-snmpd.shandsnmpd-config-generator.shreplace the previous static config approach with an install/apply workflow that cleanly manages LibreNMS-owned config blocks without duplicating them.Implementation
A complete implementation is ready in PR #613, including:
snmp/Openwrt/The agent PR was originally submitted as #595, rebuilt from scratch incorporating reviewer feedback, and has been open since March 13 without a review. Two pings to @VVelox have gone unanswered.
Opening this issue to make the request visible to other maintainers and get a sense of whether the scope/approach is acceptable before the PRs go stale.
Why this matters
OpenWrt is widely used as the OS for home and SMB routers. Without these agent scripts, LibreNMS can monitor OpenWrt devices via standard SNMP but misses thermal alerts and meaningful wireless metrics (per-interface client counts, signal quality, noise floor). The gap is particularly relevant for Wi-Fi 6/6E deployments where MLO creates duplicate MAC appearances that naive counting gets wrong.
Related