mirror of
https://github.com/librenms/librenms.git
synced 2024-09-29 06:16:43 +00:00
Shorten the label shown on graph legend
This commit is contained in:
parent
ec79e31827
commit
442f052265
@ -36,7 +36,7 @@ foreach (dbFetchRows("SELECT * FROM `ports` WHERE `device_id` = ?", array($devic
|
|||||||
|
|
||||||
$rrd_filenames[] = $rrd_filename;
|
$rrd_filenames[] = $rrd_filename;
|
||||||
$rrd_list[$i]['filename'] = $rrd_filename;
|
$rrd_list[$i]['filename'] = $rrd_filename;
|
||||||
$rrd_list[$i]['descr'] = $port['label'];
|
$rrd_list[$i]['descr'] = shorten_interface_type($port['label']);
|
||||||
$rrd_list[$i]['descr_in'] = $port['label'];
|
$rrd_list[$i]['descr_in'] = $port['label'];
|
||||||
$rrd_list[$i]['descr_out'] = $port['ifAlias'];
|
$rrd_list[$i]['descr_out'] = $port['ifAlias'];
|
||||||
$rrd_list[$i]['ds_in'] = $ds_in;
|
$rrd_list[$i]['ds_in'] = $ds_in;
|
||||||
|
Loading…
Reference in New Issue
Block a user