Fixed Raspberry Pi sensors discovery (#10176)

* Fixed Raspberry Pi frequency, voltage and state sensors discovery
* Added tests
This commit is contained in:
CirnoT
2019-05-02 08:10:20 +02:00
committed by PipoCanaja
parent d7bcd92612
commit 308145d2da
3 changed files with 309 additions and 1 deletions

View File

@@ -24,4 +24,4 @@
*/
echo 'RaspberryPi ';
$pre_cache['raspberry_pi_sensors'] = snmpwalk_cache_oid($device, '.1.3.6.1.4.1.8072.1.3.2.4.1.2.9.114.97.115.112.98.101.114.114.121', []);
$pre_cache['raspberry_pi_sensors'] = snmpwalk_cache_oid($device, '.1.3.6.1.4.1.8072.1.3.2.4.1.2.9.114.97.115.112.98.101.114.114.121', [], "NET-SNMP-EXTEND-MIB");