mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Get rid of some more execs
git-svn-id: http://www.observium.org/svn/observer/trunk@1814 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@@ -16,8 +16,7 @@ while($processor = mysql_fetch_array($proc_data)) {
|
||||
$procrrd = $config['rrd_dir'] . "/" . $device['hostname'] . "/" . safename("processor-" . $processor['processor_type'] . "-" . $processor['processor_index'] . ".rrd");
|
||||
|
||||
if (!is_file($procrrd)) {
|
||||
shell_exec("rrdtool create $procrrd \
|
||||
--step 300 \
|
||||
rrdtool_create($procrrd, "--step 300 \
|
||||
DS:usage:GAUGE:600:-273:1000 \
|
||||
RRA:AVERAGE:0.5:1:1200 \
|
||||
RRA:MIN:0.5:12:2400 \
|
||||
|
||||
Reference in New Issue
Block a user