Fix icmp ping y-axis over 1000ms (#16039)

This commit is contained in:
Tony Murray
2024-05-18 18:32:14 -05:00
committed by GitHub
parent c1f955e06e
commit 65d13a742e

View File

@@ -28,7 +28,7 @@ if (\LibreNMS\Config::get('applied_site_style') != 'dark') {
$rrd_filename = Rrd::name($device['hostname'], 'icmp-perf');
$rrd_options .= ' --left-axis-format \'%4.0lfms\' --vertical-label Latency --right-axis 1:0 --right-axis-label \'Loss %\'';
$rrd_options .= ' -X 0 --left-axis-format \'%4.0lfms\' --vertical-label Latency --right-axis 1:0 --right-axis-label \'Loss %\'';
$rrd_options .= ' DEF:ping=' . $rrd_filename . ':avg:AVERAGE';
$rrd_options .= ' DEF:min=' . $rrd_filename . ':min:MIN';