mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
* newdevice: Added further QNAP Turbo NAS detection #5229 * reverted to us linux.inc.php for detection * removed last sysMfgName reference
This commit is contained in:
@@ -25,5 +25,7 @@ if (starts_with($sysDescr, 'Linux') || starts_with($sysObjectId, '.1.3.6.1.4.1.8
|
||||
} elseif (starts_with($wrt, 'Tomato ')) {
|
||||
$os = 'tomato';
|
||||
}
|
||||
} elseif (preg_match('/^QNAP Systems/', snmp_get($device, "entPhysicalMfgName.1", "-Ovqn", "ENTITY-MIB"))) {
|
||||
$os = 'qnap';
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user