adding POE polling

git-svn-id: http://www.observium.org/svn/observer/trunk@500 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
Adam Amstrong
2009-10-29 09:28:43 +00:00
parent 4ce992afb1
commit 5a6b6dcf3e
4 changed files with 49 additions and 1 deletions

View File

@@ -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);