backslash fix since new rrdtool usage

git-svn-id: http://www.observium.org/svn/observer/trunk@1109 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
Tom Laermans 2010-06-09 10:23:47 +00:00
parent c13966b9d9
commit 769b7701b8

View File

@ -39,7 +39,7 @@ if($percentile) {
$rrd_options .= " ".$percentile."th %";
}
$rrd_options .= "\\n'";
$rrd_options .= " LINE1.25:in#".$colour_line_in.":In\ ";
$rrd_options .= " LINE1.25:in#".$colour_line_in.":'In '";
$rrd_options .= " GPRINT:in:LAST:%6.2lf%s";
$rrd_options .= " GPRINT:in:AVERAGE:%6.2lf%s";
$rrd_options .= " GPRINT:in_max:MAX:%6.2lf%s";
@ -57,7 +57,7 @@ if($percentile) {
}
$rrd_options .= " COMMENT:\\\\n";
if($print_total) {
$rrd_options .= " GPRINT:tot:'Total\ %6.2lf%s'";
$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'";
}