Files
librenms/includes/discovery/os/dnos.inc.php
T
2016-03-10 10:20:34 +01:00

17 lines
378 B
PHP

<?php
if (!$os) {
if (strstr($sysObjectId, '.1.3.6.1.4.1.6027.1.')) {
$os = 'dnos';
}
if (strstr($sysObjectId, '.1.3.6.1.4.1.674.10895.3042')) {
$os = 'dnos';
}
if (strstr($sysObjectId, '.1.3.6.1.4.1.674.10895.3044')) {
$os = 'dnos';
}
if (strstr($sysObjectId, '.1.3.6.1.4.1.674.10895.3054')) {
$os = 'dnos';
}
}