mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Added check for oid as well
This commit is contained in:
@@ -15,7 +15,7 @@ if (!$os)
|
||||
elseif (strstr($sysDescr, "endian")) { $os = "endian"; }
|
||||
elseif (preg_match("/Cisco Small Business/", $sysDescr)) { $os = "ciscosmblinux"; }
|
||||
elseif (strpos($entPhysicalMfgName, "QNAP") !== FALSE) { $os = "qnap"; }
|
||||
elseif (stristr($sysObjectId, "packetlogic")) { $os = "procera"; }
|
||||
elseif (stristr($sysObjectId, "packetlogic") || strstr($sysObjectId, ".1.3.6.1.4.1.15397.2")) { $os = "procera"; }
|
||||
elseif (strstr($sysObjectId, ".1.3.6.1.4.1.10002.1") || strstr($sysObjectId, ".1.3.6.1.4.1.41112.1.4") || strpos(trim(snmp_get($device, "dot11manufacturerName.5", "-Osqnv", "IEEE802dot11-MIB")), "Ubiquiti") !== FALSE)
|
||||
{
|
||||
$os = "airos";
|
||||
|
||||
Reference in New Issue
Block a user