revert to old rrd creation method for the time being (don't lose any speed here anyways)

git-svn-id: http://www.observium.org/svn/observer/trunk@2633 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
Adam Amstrong
2011-10-01 19:29:10 +00:00
parent 343444e957
commit 1e65da9fa9

View File

@ -178,7 +178,14 @@ function rrdtool($command, $filename, $options)
function rrdtool_create($filename, $options)
{
return rrdtool("create", $filename, $options);
global $config; global $debug;
$command = $config['rrdtool'] . " create $filename $options";
if ($debug) { echo($command."\n"); }
return shell_exec($command);
# return rrdtool("create", $filename, $options);
}
function rrdtool_update($filename, $options)