mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
feature: Add Extra Mimosa Discovery (#4831)
This commit is contained in:
committed by
Neil Lathwood
parent
22475b9d2f
commit
3b350a43ad
@@ -10,6 +10,9 @@
|
||||
* the source code distribution for details.
|
||||
*/
|
||||
|
||||
$explodeddata = explode(" ", $poll_device['sysDescr']);
|
||||
$hardware = $explodeddata['1'];
|
||||
$version = $explodeddata['3'];
|
||||
$hardware = snmp_get($device, 'sysObjectID.0', '-Osqv', 'SNMPv2-MIB:MIMOSA-NETWORKS-BASE-MIB');
|
||||
$oids = 'mimosaSerialNumber.0 mimosaFirmwareVersion.0';
|
||||
$data = snmp_get_multi($device, $oids, '-OQUs', 'MIMOSA-NETWORKS-BFIVE-MIB');
|
||||
|
||||
$serial = $data[0]['mimosaSerialNumber'];
|
||||
$version = $data[0]['mimosaFirmwareVersion'];
|
||||
|
||||
Reference in New Issue
Block a user