Update scripts/rrdstep.php (#9004)

Use system_step in icmp_step and system_heartbeat
This commit is contained in:
Hayden Seitz
2018-08-09 10:58:12 -07:00
committed by Tony Murray
parent 760fa10cb3
commit 8ec1966093

View File

@@ -52,8 +52,8 @@ if (empty($hostname)) {
}
$system_step = Config::get('rrd.step', 300);
$icmp_step = Config::get('ping_rrd_step', $step);
$system_heartbeat = Config::get('rrd.heartbeat', $step * 2);
$icmp_step = Config::get('ping_rrd_step', $system_step);
$system_heartbeat = Config::get('rrd.heartbeat', $system_step * 2);
$rrdtool = Config::get('rrdtool', 'rrdtool');
$tmp_path = Config::get('temp_dir', '/tmp');