2017-12-26 05:03:23 -05:00
|
|
|
<?php
|
|
|
|
|
/*
|
|
|
|
|
* LibreNMS
|
|
|
|
|
*
|
|
|
|
|
* This program is free software: you can redistribute it and/or modify it
|
|
|
|
|
* under the terms of the GNU General Public License as published by the
|
|
|
|
|
* Free Software Foundation, either version 3 of the License, or (at your
|
|
|
|
|
* option) any later version. Please see LICENSE.txt at the top level of
|
|
|
|
|
* the source code distribution for details.
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
|
2018-11-27 21:31:26 -06:00
|
|
|
$version = $device['sysDescr'];
|
2018-12-16 07:42:50 -06:00
|
|
|
$cnpilot_data = snmp_get_multi_oid($device, ['cambiumAPSerialNum.0', 'cambiumAPHWType.0'], '-OUQs', 'CAMBIUM-MIB');
|
2017-12-26 05:03:23 -05:00
|
|
|
|
|
|
|
|
$hardware = $cnpilot_data['cambiumAPHWType.0'];
|
|
|
|
|
$serial = $cnpilot_data['cambiumAPSerialNum.0'];
|