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