mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Basic Cumulus Linux detection
This commit is contained in:
@@ -64,6 +64,9 @@ if (!$os) {
|
||||
);
|
||||
register_mibs($device, $pktj_mibs, "include/discovery/os/linux.inc.php");
|
||||
}
|
||||
else if (stristr($sysObjectId, 'cumulusMib') || strstr($sysObjectId, '.1.3.6.1.4.1.40310')) {
|
||||
$os = 'cumulus';
|
||||
}
|
||||
else {
|
||||
// Check for Synology DSM
|
||||
$hrSystemInitialLoadParameters = trim(snmp_get($device, 'HOST-RESOURCES-MIB::hrSystemInitialLoadParameters.0', '-Osqnv'));
|
||||
|
Reference in New Issue
Block a user