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

9 lines
302 B
PHP

<?php
// DRAC5, iDRAC6 - 1.3.6.1.4.1.674.10892.2
// iDRAC7, iDRAC8 - 1.3.6.1.4.1.674.10892.5
if (str_contains($sysDescr, 'Dell Out-of-band SNMP Agent for Remote Access Controller') ||
starts_with($sysObjectId, array('.1.3.6.1.4.1.674.10892.2', '.1.3.6.1.4.1.674.10892.5'))) {
$os = 'drac';
}