mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Resolved critical bugs from scrutinizer
This commit is contained in:
@@ -28,7 +28,7 @@ $rrd_options .= " DEF:rtt=$rrd_file:rtt:AVERAGE ";
|
||||
$rrd_options .= " VDEF:avg=rtt,AVERAGE ";
|
||||
$rrd_options .= " LINE1:avg#CCCCFF:'".str_pad('Average',$descr_len-3)."':dashes";
|
||||
$rrd_options .= " GPRINT:rtt:AVERAGE:%4.1lf".$unit."\\\l ";
|
||||
$rrd_options .= " LINE1:rtt#CC0000:'" . rrdtool_escape($descr,$descr_len-3)) . "'";
|
||||
$rrd_options .= " LINE1:rtt#CC0000:'" . rrdtool_escape($descr,$descr_len-3) . "'";
|
||||
$rrd_options .= " GPRINT:rtt:LAST:%4.1lf".$unit." ";
|
||||
$rrd_options .= " GPRINT:rtt:MIN:%4.1lf".$unit." ";
|
||||
$rrd_options .= " GPRINT:rtt:MAX:%4.1lf".$unit."\\\l ";
|
||||
|
||||
Reference in New Issue
Block a user