mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Explicitly show units for total in bit graphs
Previously the rest of the graph was in "bps", as indicated in the legend, however the unit for the totals is "B" (bytes) - as only the prefix (M, G, T) was shown for the totals it was not clear that the unit was different.
This commit is contained in:
@@ -123,9 +123,9 @@ if ($config['rrdgraph_real_95th']) {
|
||||
$rrd_options .= " GPRINT:95thhigh:\"%30.2lf%s\\n\"";
|
||||
}
|
||||
|
||||
$rrd_options .= " GPRINT:tot:'Total %6.2lf%s'";
|
||||
$rrd_options .= " GPRINT:totin:'(In %6.2lf%s'";
|
||||
$rrd_options .= " GPRINT:totout:'Out %6.2lf%s)\\l'";
|
||||
$rrd_options .= " GPRINT:tot:'Total %6.2lf%sB'";
|
||||
$rrd_options .= " GPRINT:totin:'(In %6.2lf%sB'";
|
||||
$rrd_options .= " GPRINT:totout:'Out %6.2lf%sB)\\l'";
|
||||
$rrd_options .= ' LINE1:95thin#aa0000';
|
||||
$rrd_options .= ' LINE1:d95thout#aa0000';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user