Files
librenms-librenms/includes/discovery/os/dnos.inc.php
T
Neil Lathwood 6fdcf8a6da refactor: OS Discovery files D-H (#4572)
* refactor: OS Discovery files D-H

* Combine edgeswitch check

* fix my typo

* update to fix tests
2016-09-27 22:31:16 +01:00

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);