mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Discovery fix (#5304)
This commit is contained in:
@@ -110,7 +110,7 @@ function discover_device($device, $options = null)
|
||||
}
|
||||
}
|
||||
|
||||
$config['os'][$device['os']] = load_os($device);
|
||||
$config['os'][$device['os']] = load_os($device['os']);
|
||||
if (is_array($config['os'][$device['os']]['register_mibs'])) {
|
||||
register_mibs($device, $config['os'][$device['os']]['register_mibs'], 'includes/discovery/os/' . $device['os'] . '.inc.php');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user