31 lines
695 B
PHP
31 lines
695 B
PHP
<?php
|
|
/**
|
|
* Observium
|
|
*
|
|
* This file is part of Observium.
|
|
*
|
|
* @package observium
|
|
* @subpackage discovery
|
|
* @copyright (C) Adam Armstrong
|
|
*
|
|
*/
|
|
|
|
/// YAH, leave this here, still many device use same sysObjectId as here :(
|
|
|
|
if ($os) {
|
|
return;
|
|
}
|
|
|
|
if (match_oid_num($sysObjectID, '.1.3.6.1.4.1.4413') || $sysObjectID === '.1.3.6.1.4.1.7244') {
|
|
$os = 'broadcom_fastpath'; // Generic Broadcom
|
|
/* Seems unused
|
|
if ($sysObjectID === '.1.3.6.1.4.1.4413' && str_icontains_array($sysDescr, 'bcm963')) {
|
|
//Broadcom Bcm963xx Software Version 3.00L.01V.
|
|
//Broadcom Bcm963xx Software Version A131-306CTU-C08_R04
|
|
//$os = 'comtrend-';
|
|
}
|
|
*/
|
|
}
|
|
|
|
// EOF
|