initial commit; version 22.5.12042

This commit is contained in:
2022-12-12 23:28:25 -05:00
commit af1b03d79f
17653 changed files with 22692970 additions and 0 deletions

View File

@ -0,0 +1,27 @@
<?php
/**
* Observium
*
* This file is part of Observium.
*
* @package observium
* @subpackage graphs
* @copyright (C) 2006-2013 Adam Armstrong, (C) 2013-2021 Observium Limited
*
*/
include($config['html_dir']."/includes/graphs/device/auth.inc.php");
if ($auth && is_numeric($vars['mod']) && is_numeric($vars['chan'])) {
$entity = dbFetchRow("SELECT * FROM entPhysical WHERE device_id = ? AND entPhysicalIndex = ?", array($device['device_id'], $vars['mod']));
$title .= " :: ".$entity['entPhysicalName'];
$title .= " :: Fabric ".$vars['chan'];
$graph_title = device_name($device, TRUE) . "::" . $entity['entPhysicalName']. "::Fabric" . $vars['chan'];
$rrd_filename = get_rrd_path($device, "c6kxbar-" . $vars['mod']. "-".$vars['chan']. ".rrd");
}
// EOF

View File

@ -0,0 +1,30 @@
<?php
/**
* Observium
*
* This file is part of Observium.
*
* @package observium
* @subpackage graphs
* @copyright (C) 2006-2013 Adam Armstrong, (C) 2013-2019 Observium Limited
*
*/
$ds_in = "inutil";
$ds_out = "oututil";
$colour_area_in = $config['colours']['graphs']['pkts']['in_area'];
$colour_line_in = $config['colours']['graphs']['pkts']['in_line'];
$colour_area_out = $config['colours']['graphs']['pkts']['out_area'];
$colour_line_out = $config['colours']['graphs']['pkts']['out_line'];
$colour_area_in_max = $config['colours']['graphs']['pkts']['in_max'];
$colour_area_out_max = $config['colours']['graphs']['pkts']['out_max'];
$graph_max = 1;
$unit_text = "Percent";
include($config['html_dir']."/includes/graphs/generic_duplex.inc.php");
?>