Commit version 24.12.13800
This commit is contained in:
@ -5,31 +5,33 @@
|
||||
*
|
||||
* This file is part of Observium.
|
||||
*
|
||||
* @package observium
|
||||
* @subpackage graphs
|
||||
* @copyright (C) 2006-2013 Adam Armstrong, (C) 2013-2019 Observium Limited
|
||||
* @package observium
|
||||
* @subpackage graphs
|
||||
* @copyright (C) Adam Armstrong
|
||||
*
|
||||
*/
|
||||
|
||||
$scale_min = 0;
|
||||
|
||||
include_once($config['html_dir'].'/includes/graphs/common.inc.php');
|
||||
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;
|
||||
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 = 'EEEEEE';
|
||||
$colour_line = '36393D';
|
||||
$colour_area_max = 'FFEE99';
|
||||
$unit_text = 'MACs';
|
||||
$unit_integer = TRUE;
|
||||
$line_text = 'Count';
|
||||
$unit_text = 'MACs';
|
||||
$unit_integer = TRUE;
|
||||
$line_text = 'Count';
|
||||
|
||||
include_once($config['html_dir'].'/includes/graphs/generic_simplex.inc.php');
|
||||
include_once($config['html_dir'] . '/includes/graphs/generic_simplex.inc.php');
|
||||
|
||||
// EOF
|
||||
|
Reference in New Issue
Block a user