Rosiak 8f54b612ec Adjust code to Best Practice
- Adjust the code I’ve introduced to Scrut and general Best Practice
2015-07-13 16:08:03 +02:00

11 lines
333 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";
}
}