mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
14 lines
270 B
PHP
14 lines
270 B
PHP
<?php
|
|
|
|
$canopy_type = snmp_get($device, 'boxDeviceType.0', '-Oqv', 'WHISP-BOX-MIBV2-MIB');
|
|
|
|
if (stristr($canopy_type, 'MIMO OFDM')) {
|
|
$hardware = 'PMP 450';
|
|
}
|
|
else if (stristr($canopy_type, 'OFDM')) {
|
|
$hardware = 'PMP 430';
|
|
}
|
|
else {
|
|
$hardware = 'PMP 100';
|
|
}
|