mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
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:
@ -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");
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user