mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
fix: netonix version display (#4672)
This commit is contained in:
@@ -23,7 +23,6 @@
|
||||
* @author Tony Murray <murraytony@gmail.com>
|
||||
*/
|
||||
|
||||
//NETONIX-SWITCH-MIB::firmwareVersion.0
|
||||
$version = snmp_get($device, '.1.3.6.1.4.1.46242.1.0', '-OQva');
|
||||
$version = snmp_get($device, 'firmwareVersion.0', '-OQva', 'NETONIX-SWITCH-MIB', 'netonix');
|
||||
$version = str_replace('.n.........', '', $version); // version display bug in 1.3.9
|
||||
$hardware = $poll_device['sysDescr'];
|
||||
|
||||
Reference in New Issue
Block a user