mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
fix: Ping perf is in milliseconds, not seconds (#6140)
This commit is contained in:
committed by
Tony Murray
parent
1c48fe399f
commit
3c3a906c68
@@ -19,7 +19,7 @@ require 'includes/graphs/common.inc.php';
|
||||
$rrd_filename = rrd_name($device['hostname'], 'ping-perf');
|
||||
|
||||
$rrd_options .= ' DEF:ping='.$rrd_filename.':ping:AVERAGE';
|
||||
$rrd_options .= " 'COMMENT:Seconds Cur Min Max Avg\\n'";
|
||||
$rrd_options .= " 'COMMENT:Milliseconds Cur Min Max Avg\\n'";
|
||||
$rrd_options .= ' LINE1.25:ping#36393D:Ping';
|
||||
$rrd_options .= ' GPRINT:ping:LAST:%6.2lf GPRINT:ping:AVERAGE:%6.2lf';
|
||||
$rrd_options .= " GPRINT:ping:MAX:%6.2lf 'GPRINT:ping:AVERAGE:%6.2lf\\n'";
|
||||
|
||||
Reference in New Issue
Block a user