librenms/includes/polling/os/canopy.inc.php

12 lines
266 B
PHP
Raw Normal View History

2015-04-02 07:50:43 +00:00
<?php
2015-04-06 22:03:19 +00:00
$canopy_type = snmp_get($device,"boxDeviceType.0", "-Oqv", "WHISP-BOX-MIBV2-MIB");
if (stristr($canopy_type,"MIMO OFDM")) {
$hardware = 'PMP 450';
} elseif (stristr($canopy_type,"OFDM")) {
$hardware = 'PMP 430';
} else {
$hardware = 'PMP 100';
}