Update powerconnect.inc.php

Added PowerConnect 55xx Detection
This commit is contained in:
Alan Gregory
2015-03-21 21:18:44 -03:00
parent f163a60a59
commit 6e661c5ed0

View File

@ -5,6 +5,8 @@ if (!$os)
#if (strstr($sysDescr, "Neyland 24T")) { $os = "powerconnect"; } /* Powerconnect 5324 */
if (stristr($sysDescr, "PowerConnect ")) { $os = "powerconnect"; }
else if (preg_match("/Dell.*Gigabit\ Ethernet/i",$sysDescr)) { $os = "powerconnect"; }
//PowerConnect 55xx
else if (stristr(snmp_get($device, "1.3.6.1.4.1.674.10895.3000.1.2.100.1.0", "-Oqv", ""),"PowerConnect") ) { $os = "powerconnect";}
}
?>