38 lines
769 B
PHP
38 lines
769 B
PHP
<?php
|
|
|
|
/**
|
|
* Observium
|
|
*
|
|
* This file is part of Observium.
|
|
*
|
|
* @package observium
|
|
* @subpackage graphs
|
|
* @copyright (C) Adam Armstrong
|
|
*
|
|
*/
|
|
|
|
$scale_min = 0;
|
|
|
|
include_once($config['html_dir'] . '/includes/graphs/common.inc.php');
|
|
|
|
$rrd = get_port_rrdfilename($port, 'fdbcount', TRUE);
|
|
if (rrd_is_file($rrd)) {
|
|
$rrd_filename = $rrd;
|
|
} else {
|
|
$GLOBALS['graph_error'] = "FDB Count RRD does not exist for this port.\nPlease ensure the module is enabled.";
|
|
return;
|
|
}
|
|
|
|
$ds = 'value';
|
|
|
|
$colour_area = 'EEEEEE';
|
|
$colour_line = '36393D';
|
|
$colour_area_max = 'FFEE99';
|
|
$unit_text = 'MACs';
|
|
$unit_integer = TRUE;
|
|
$line_text = 'Count';
|
|
|
|
include_once($config['html_dir'] . '/includes/graphs/generic_simplex.inc.php');
|
|
|
|
// EOF
|