mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Line up ping graph legend (#8955)
 DO NOT DELETE THIS TEXT #### Please note > Please read this information carefully. You can run `./scripts/pre-commit.php` to check your code before submitting. - [x] Have you followed our [code guidelines?](http://docs.librenms.org/Developing/Code-Guidelines/) #### Testers If you would like to test this pull request then please run: `./scripts/github-apply <pr_id>`, i.e `./scripts/github-apply 5926`
This commit is contained in:
committed by
Neil Lathwood
parent
d566544743
commit
f45e1997c5
@@ -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:Milliseconds 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:LAST:%14.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