mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
adding POE polling
git-svn-id: http://www.observium.org/svn/observer/trunk@500 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@@ -3,6 +3,8 @@
|
||||
|
||||
include("config.php");
|
||||
include("includes/functions.php");
|
||||
include("includes/functions-poller.inc.php");
|
||||
|
||||
|
||||
$poller_start = utime();
|
||||
|
||||
@@ -48,6 +50,9 @@ while ($device = mysql_fetch_array($device_query)) {
|
||||
include("includes/polling/".$type.".inc.php");
|
||||
|
||||
echo("\n"); $devices_polled++;
|
||||
|
||||
unset($array);
|
||||
|
||||
}
|
||||
|
||||
$poller_end = utime(); $poller_run = $poller_end - $poller_start; $poller_time = substr($poller_run, 0, 5);
|
||||
|
Reference in New Issue
Block a user