mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-28 00:24:21 +02:00
updates additions
git-svn-id: http://www.observium.org/svn/observer/trunk@505 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
+3
-2
@@ -3,6 +3,7 @@
|
||||
|
||||
include("config.php");
|
||||
include("includes/functions.php");
|
||||
include("includes/functions-poller.inc.php");
|
||||
|
||||
$start = utime();
|
||||
|
||||
@@ -47,7 +48,7 @@ while ($device = mysql_fetch_array($device_query)) {
|
||||
|
||||
echo($device['hostname'] . "(".$device['sysName']."|".$device['device_id'].")\n");
|
||||
|
||||
include("includes/discovery/".$type.".php");
|
||||
include("includes/discovery/".$type);
|
||||
|
||||
echo("\n"); $devices_polled++;
|
||||
}
|
||||
@@ -55,7 +56,7 @@ while ($device = mysql_fetch_array($device_query)) {
|
||||
$end = utime(); $run = $end - $start;
|
||||
$proctime = substr($run, 0, 5);
|
||||
|
||||
echo("$devices_polled devices polled in $proctime secs\n");
|
||||
echo("$devices_polled devices polled in $proctime secs\n $mysql SQL");
|
||||
|
||||
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user