mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-12 16:06:25 +02:00
Updated Mellanox detection to use sysObjectID
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
<?php
|
||||
|
||||
if (!$os) {
|
||||
if (stristr($sysDescr, "mellanox")) {
|
||||
if (strstr($sysObjectId, ".33049.1.1.1.1012")) {
|
||||
$os = "mellanox";
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user