mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
device: More succinct hardware description for Netonix (#6863)
This commit is contained in:
committed by
Neil Lathwood
parent
fb548a9732
commit
e40a7d7767
@@ -25,4 +25,4 @@
|
||||
|
||||
$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'];
|
||||
$hardware = str_replace('Netonix ', '', $poll_device['sysDescr']);
|
||||
|
Reference in New Issue
Block a user