mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-12 16:06:25 +02:00
add some mibs, update snmp functions
git-svn-id: http://www.observium.org/svn/observer/trunk@1458 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@@ -11,7 +11,7 @@ function rrdtool_create($rrdfile, $rrdupdate)
|
||||
|
||||
$command = $config['rrdtool'] . " create $rrdfile $rrdupdate";
|
||||
|
||||
if ($debug || TRUE) { echo($command."\n"); }
|
||||
if ($debug) { echo($command."\n"); }
|
||||
|
||||
return shell_exec($command);
|
||||
|
||||
@@ -47,7 +47,7 @@ function rrdtool($command, $file, $options)
|
||||
$command .= " --daemon " . $config['rrdcached'];
|
||||
}
|
||||
|
||||
if ($debug || TRUE) { echo($command."\n"); }
|
||||
if ($debug) { echo($command."\n"); }
|
||||
return shell_exec($command);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user