moar graph cleanups

git-svn-id: http://www.observium.org/svn/observer/trunk@1906 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
Tom Laermans
2011-03-17 13:35:25 +00:00
parent e1db733590
commit eb009ce178
50 changed files with 833 additions and 825 deletions

View File

@@ -4,13 +4,13 @@ $scale_min = "0";
include("includes/graphs/common.inc.php");
$rrd_filename = $config['rrd_dir'] . "/" . $device['hostname'] . "/fdb_count.rrd";
$rrd_filename = $config['rrd_dir'] . "/" . $device['hostname'] . "/fdb_count.rrd";
$rrd_options .= " DEF:value=$rrd_filename:value:AVERAGE";
$rrd_options .= " COMMENT:'MACs Current Minimum Maximum Average\\n'";
$rrd_options .= " AREA:value#EEEEEE:value";
$rrd_options .= " LINE1.25:value#36393D:";
$rrd_options .= " GPRINT:value:LAST:%6.2lf\ GPRINT:value:AVERAGE:%6.2lf\ ";
$rrd_options .= " GPRINT:value:MAX:%6.2lf\ GPRINT:value:AVERAGE:%6.2lf\\\\n";
$rrd_options .= " DEF:value=$rrd_filename:value:AVERAGE";
$rrd_options .= " COMMENT:'MACs Current Minimum Maximum Average\\n'";
$rrd_options .= " AREA:value#EEEEEE:value";
$rrd_options .= " LINE1.25:value#36393D:";
$rrd_options .= " GPRINT:value:LAST:%6.2lf\ GPRINT:value:AVERAGE:%6.2lf\ ";
$rrd_options .= " GPRINT:value:MAX:%6.2lf\ GPRINT:value:AVERAGE:%6.2lf\\\\n";
?>