mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
fixes to things, use *only* junos and junose mibdir for those things
git-svn-id: http://www.observium.org/svn/observer/trunk@1586 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@@ -5,8 +5,8 @@
|
||||
|
||||
include("includes/graphs/common.inc.php");
|
||||
|
||||
$unit_text = str_pad(truncate($unit_text,10),10);
|
||||
|
||||
$unit_text = str_pad(truncate($unit_text,18,''),18);
|
||||
$line_text = str_pad(truncate($line_text,12,''),12);
|
||||
|
||||
$rrd_options .= " DEF:".$rra."=".$rrd_filename.":".$rra.":AVERAGE";
|
||||
$rrd_options .= " DEF:".$rra."_max=".$rrd_filename.":".$rra.":MAX";
|
||||
@@ -28,7 +28,7 @@ if($percentile) {
|
||||
$rrd_options .= " ".$percentile."th %";
|
||||
}
|
||||
$rrd_options .= "\\n'";
|
||||
$rrd_options .= " LINE1.25:".$rra."#".$colour_line.":In\ ";
|
||||
$rrd_options .= " LINE1.25:".$rra."#".$colour_line.":'".$line_text."'";
|
||||
$rrd_options .= " GPRINT:".$rra.":LAST:%6.2lf%s";
|
||||
$rrd_options .= " GPRINT:".$rra.":AVERAGE:%6.2lf%s";
|
||||
$rrd_options .= " GPRINT:".$rra."_max:MAX:%6.2lf%s";
|
||||
|
||||
Reference in New Issue
Block a user