librenms/includes/discovery/os/drac.inc.php
2015-07-15 11:04:22 +02:00

10 lines
336 B
PHP

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