mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
increment $polled_devices
git-svn-id: http://www.observium.org/svn/observer/trunk@2849 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@@ -205,8 +205,6 @@ function poll_device($device, $options)
|
||||
unset($storage_cache); // Clear cache of hrStorage ** MAYBE FIXME? **
|
||||
unset($cache); // Clear cache (unify all things here?)
|
||||
}
|
||||
|
||||
$polled_devices++;
|
||||
}
|
||||
|
||||
?>
|
||||
|
@@ -97,8 +97,8 @@ if (!isset($query))
|
||||
foreach (dbFetch($query) as $device)
|
||||
{
|
||||
$device = dbFetchRow("SELECT * FROM `devices` WHERE `device_id` = '".$device['device_id']."'");
|
||||
|
||||
poll_device($device, $options);
|
||||
$polled_devices++;
|
||||
}
|
||||
|
||||
$poller_end = utime(); $poller_run = $poller_end - $poller_start; $poller_time = substr($poller_run, 0, 5);
|
||||
|
Reference in New Issue
Block a user