mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
6fdcf8a6da
* refactor: OS Discovery files D-H * Combine edgeswitch check * fix my typo * update to fix tests
21 lines
471 B
PHP
21 lines
471 B
PHP
<?php
|
|
|
|
$dnos_objectid = array(
|
|
'.1.3.6.1.4.1.6027.1.',
|
|
'.1.3.6.1.4.1.674.10895.3042',
|
|
'.1.3.6.1.4.1.674.10895.3044',
|
|
'.1.3.6.1.4.1.674.10895.3054',
|
|
'.1.3.6.1.4.1.674.10895.3055',
|
|
'.1.3.6.1.4.1.674.10895.3056',
|
|
'.1.3.6.1.4.1.674.10895.3046',
|
|
'.1.3.6.1.4.1.674.10895.3057',
|
|
'.1.3.6.1.4.1.674.10895.3058',
|
|
'.1.3.6.1.4.1.674.10895.3060',
|
|
);
|
|
|
|
if (starts_with($sysObjectId, $dnos_objectid)) {
|
|
$os = 'dnos';
|
|
}
|
|
|
|
unset($dnos_objectid);
|