More Dell iDrac Additions

- Basic DRAC5 && iDRAC6 recognition
- State sensor support based on earlier work from @laf
This commit is contained in:
Rosiak
2015-07-10 01:40:14 +02:00
parent 2f2a518d0c
commit b28e33b839
2 changed files with 34 additions and 1 deletions
+3 -1
View File
@@ -2,7 +2,9 @@
if (!$os) {
if (strstr($sysDescr, "Dell Out-of-band SNMP Agent for Remote Access Controller") || strstr($sysObjectId, "1.3.6.1.4.1.674.10892.5")) {
#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";
}
}