add HP Procurve FDB count graph

git-svn-id: http://www.observium.org/svn/observer/trunk@1543 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
Adam Amstrong
2010-07-30 13:54:00 +00:00
parent aeee6d1eed
commit 985ec190c6
5 changed files with 41 additions and 38 deletions

View File

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