RRDtool dual process (remote creation/check) (#4104)

* Prepare for dual rrdtool processes
Disabled at this time
Split out rrdtool version checks into rrdtool_create_command()
Tests for rrdtool_create_command()
Fixes a few small issues.

* Enable dual process and remote rrd check/creation

* remove full path for remote commands

* Doc updates
minor fix to rrdtool_tune()

* Set up bootstrap for phpunit
Fix issues with FileExistsException

* Attempt to fix phpunit

* Fix classloader and bootstrap to use full paths only (not depending on $config)

* Fix phpunit tests, config.php does not exist.
This commit is contained in:
Tony Murray
2016-08-22 10:32:05 -05:00
committed by Neil Lathwood
parent 27c1c72b19
commit e80a385b7f
11 changed files with 400 additions and 126 deletions

View File

@@ -22,7 +22,7 @@ require 'includes/functions.php';
$iter = '0';
rrdtool_pipe_open($rrd_process, $rrd_pipes);
rrdtool_initialize();
$poller_start = microtime(true);
echo "Starting Polling Session ... \n\n";
@@ -158,4 +158,4 @@ if ($poller_time > 300) {
}
echo "\nCompleted in $poller_time sec\n";
rrdtool_pipe_close($rrd_process, $rrd_pipes);
rrdtool_terminate();