librenms/includes/discovery/os/ciscosb.inc.php

29 lines
640 B
PHP
Raw Normal View History

<?php
if (!$os) {
2016-02-22 15:49:41 +00:00
if (strstr($sysObjectId, '.1.3.6.1.4.1.9.6.1.80')) {
$os = 'ciscosb';
}
if (strstr($sysObjectId, '.1.3.6.1.4.1.9.6.1.81')) {
$os = 'ciscosb';
}
2015-07-13 18:10:26 +00:00
if (strstr($sysObjectId, '.1.3.6.1.4.1.9.6.1.82')) {
$os = 'ciscosb';
}
if (strstr($sysObjectId, '.1.3.6.1.4.1.9.6.1.83')) {
$os = 'ciscosb';
}
if (strstr($sysObjectId, '.1.3.6.1.4.1.9.6.1.85')) {
$os = 'ciscosb';
}
if (strstr($sysObjectId, '.1.3.6.1.4.1.9.6.1.88')) {
$os = 'ciscosb';
}
if (strstr($sysObjectId, '.1.3.6.1.4.1.9.6.1.89')) {
$os = 'ciscosb';
}
2016-02-22 15:49:41 +00:00
}