mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-12 16:06:25 +02:00
fix cpu detection, and probably other stuff
git-svn-id: http://www.observium.org/svn/observer/trunk@2468 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@@ -41,8 +41,8 @@ function discover_new_device($hostname)
|
|||||||
|
|
||||||
function discover_device($device, $options = NULL)
|
function discover_device($device, $options = NULL)
|
||||||
{
|
{
|
||||||
|
global $config, $valid;
|
||||||
|
|
||||||
global $config;
|
|
||||||
$valid = array(); ## Reset $valid array
|
$valid = array(); ## Reset $valid array
|
||||||
|
|
||||||
$attribs = get_dev_attribs($device['device_id']);
|
$attribs = get_dev_attribs($device['device_id']);
|
||||||
|
|||||||
Reference in New Issue
Block a user