some fixes, and cleanups, also bits per second not bytes ;)

git-svn-id: http://www.observium.org/svn/observer/trunk@1502 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
Tom Laermans
2010-07-28 15:57:32 +00:00
parent 29f5afa472
commit 6af535d5f6
7 changed files with 10 additions and 11 deletions
@@ -31,7 +31,7 @@ if($inverse) { $in = 'out'; $out = 'in'; } else { $in = 'in'; $out = 'out'; }
$rrd_options .= " LINE1.25:doutbits#".$colour_line_out.":";
} else {
$rrd_options .= " AREA:inbits#".$colour_area_in.":";
$rrd_options .= " COMMENT:BPS\ \ \ \ Current\ \ \ Average\ \ \ \ \ \ Max\\\\n";
$rrd_options .= " COMMENT:bps\ \ \ \ Current\ \ \ Average\ \ \ \ \ \ Max\\\\n";
$rrd_options .= " LINE1.25:inbits#".$colour_line_in.":In\ ";
$rrd_options .= " GPRINT:inbits:LAST:%6.2lf%s";
$rrd_options .= " GPRINT:inbits:AVERAGE:%6.2lf%s";