fix RRD format for storage RRDS. we need to look at these rrd formats, i think, some might SUCK.

git-svn-id: http://www.observium.org/svn/observer/trunk@953 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
Adam Amstrong
2010-02-25 21:40:50 +00:00
parent 74235000be
commit 2ef0c85ffd
3 changed files with 6 additions and 6 deletions

View File

@ -33,7 +33,7 @@ function rrdtool_lastupdate($rrdfile, $rrdupdate)
function rrdtool($command, $file, $options)
{
global $config; global $debug;
if ($config['debug']) { echo($config['rrdtool'] . " $command $file $options \n"); }
if ($debug) { echo($config['rrdtool'] . " $command $file $options \n"); }
return shell_exec($config['rrdtool'] . " $command $file $options");
}