pass arguments to rrdtool via stdin instead of commandline (experimental, please find regressions if any ;))

git-svn-id: http://www.observium.org/svn/observer/trunk@1107 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
Tom Laermans
2010-06-08 18:22:00 +00:00
parent 44ba5de799
commit a8babb6d0d
3 changed files with 11 additions and 9 deletions
+3 -3
View File
@@ -57,9 +57,9 @@ if($percentile) {
}
$rrd_options .= " COMMENT:\\\\n";
if($print_total) {
$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";
$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'";
}
if($percentile) {
$rrd_options .= " LINE1:percentile_in#aa0000";