Some more small tweaks to get everything together

This commit is contained in:
laf
2015-04-30 18:23:42 +01:00
parent 0f43550fcf
commit 19790fa514
3 changed files with 6 additions and 4 deletions
@@ -8,6 +8,8 @@ if (file_exists($rrdfilename)) {
$rrd_options .= " COMMENT:'bps Now Ave Max \\n'";
$rrd_options .= " DEF:rfInOctets=".$rrdfilename.":rfInOctets:AVERAGE ";
$rrd_options .= " DEF:rfOutOctets=".$rrdfilename.":rfOutOctets:AVERAGE ";
//$rrd_options .= " CDEF:inoctets=rfInOctets,8,*";
//$rrd_options .= " CDEF:outoctets=rfOutOctets,8,*";
$rrd_options .= " LINE1:rfInOctets#00FF00:'In ' ";
$rrd_options .= " GPRINT:rfInOctets:LAST:%0.2lf%s ";
$rrd_options .= " GPRINT:rfInOctets:MIN:%0.2lf%s ";