mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Added support for additional Netbotz models
This commit is contained in:
@@ -11,7 +11,7 @@ if (!$os)
|
||||
// Check for QNAP Systems TurboNAS
|
||||
$entPhysicalMfgName = snmp_get($device, "ENTITY-MIB::entPhysicalMfgName.1", "-Osqnv");
|
||||
|
||||
if (strstr($sysObjectId, ".1.3.6.1.4.1.5528.100.20.10.2014")) { $os = "netbotz"; }
|
||||
if (strstr($sysObjectId, ".1.3.6.1.4.1.5528.100.20.10.2014") || strstr($sysObjectId, ".1.3.6.1.4.1.5528.100.20.10.2016")) { $os = "netbotz"; }
|
||||
elseif (strstr($sysDescr, "endian")) { $os = "endian"; }
|
||||
elseif (preg_match("/Cisco Small Business/", $sysDescr)) { $os = "ciscosmblinux"; }
|
||||
elseif (strpos($entPhysicalMfgName, "QNAP") !== FALSE) { $os = "qnap"; }
|
||||
|
||||
Reference in New Issue
Block a user