mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
new device: Added detection for new dasan device, and fixed the poll for serial n… (#5713)
* Added detection for new dasan device, and fixed the poll for serial number * Actually add new files to commit...
This commit is contained in:
committed by
Neil Lathwood
parent
b5a8cb0f5b
commit
f76fc5a897
@@ -25,7 +25,7 @@
|
||||
|
||||
list($hardware, $version) = explode(' ', $poll_device['sysDescr'], 2);
|
||||
|
||||
$tmp = snmp_get_multi_oid($device, 'dsSerialNumber.0 dsFirmwareVersion', '-OQUs', 'DASAN-SWITCH-MIB:DASAN-PRODUCTS-MIB');
|
||||
$tmp = snmp_get_multi_oid($device, 'dsSerialNumber.0 dsFirmwareVersion.0', '-OQUs', 'DASAN-SWITCH-MIB:DASAN-PRODUCTS-MIB');
|
||||
|
||||
$serial = $tmp['dsSerialNumber.0'];
|
||||
$version = $tmp['dsFirmwareVersion.0'];
|
||||
|
Reference in New Issue
Block a user