mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Add In/Out to multiport graph
- Add In/Out text and color boxes to multiport bit graph
This commit is contained in:
@ -87,14 +87,14 @@ if ($i) {
|
|||||||
// $rrd_options .= " LINE1.25:dout".$format."#".$colour_line_out.":";
|
// $rrd_options .= " LINE1.25:dout".$format."#".$colour_line_out.":";
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
$rrd_options .= ' AREA:in'.$format.'#'.$colour_area_in.':';
|
|
||||||
$rrd_options .= " COMMENT:'bps Now Ave Max 95th %\\n'";
|
$rrd_options .= " COMMENT:'bps Now Ave Max 95th %\\n'";
|
||||||
|
$rrd_options .= ' AREA:in'.$format.'#'.$colour_area_in.':In ';
|
||||||
// $rrd_options .= " LINE1.25:in".$format."#".$colour_line_in.":In\ ";
|
// $rrd_options .= " LINE1.25:in".$format."#".$colour_line_in.":In\ ";
|
||||||
$rrd_options .= ' GPRINT:in'.$format.':LAST:%6.2lf%s';
|
$rrd_options .= ' GPRINT:in'.$format.':LAST:%6.2lf%s';
|
||||||
$rrd_options .= ' GPRINT:in'.$format.':AVERAGE:%6.2lf%s';
|
$rrd_options .= ' GPRINT:in'.$format.':AVERAGE:%6.2lf%s';
|
||||||
$rrd_options .= ' GPRINT:in'.$format.':MAX:%6.2lf%s';
|
$rrd_options .= ' GPRINT:in'.$format.':MAX:%6.2lf%s';
|
||||||
$rrd_options .= " GPRINT:95thin:%6.2lf%s\\\\n";
|
$rrd_options .= " GPRINT:95thin:%6.2lf%s\\\\n";
|
||||||
$rrd_options .= ' AREA:dout'.$format.'#'.$colour_area_out.':';
|
$rrd_options .= ' AREA:dout'.$format.'#'.$colour_area_out.':Out';
|
||||||
// $rrd_options .= " LINE1.25:dout".$format."#".$colour_line_out.":Out";
|
// $rrd_options .= " LINE1.25:dout".$format."#".$colour_line_out.":Out";
|
||||||
$rrd_options .= ' GPRINT:out'.$format.':LAST:%6.2lf%s';
|
$rrd_options .= ' GPRINT:out'.$format.':LAST:%6.2lf%s';
|
||||||
$rrd_options .= ' GPRINT:out'.$format.':AVERAGE:%6.2lf%s';
|
$rrd_options .= ' GPRINT:out'.$format.':AVERAGE:%6.2lf%s';
|
||||||
|
Reference in New Issue
Block a user