Files

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

15 lines
579 B
PHP
Raw Permalink Normal View History

2011-11-14 20:21:53 +00:00
<?php
2019-04-11 23:26:42 -05:00
require 'includes/html/graphs/device/auth.inc.php';
2011-11-14 20:21:53 +00:00
if ($auth && is_numeric($_GET['mod']) && is_numeric($_GET['chan'])) {
$entity = dbFetchRow('SELECT * FROM entPhysical WHERE device_id = ? AND entPhysicalIndex = ?', [$device['device_id'], $_GET['mod']]);
2011-11-14 20:21:53 +00:00
$title .= ' :: ' . $entity['entPhysicalName'];
$title .= ' :: Fabric ' . $_GET['chan'];
2011-11-14 20:21:53 +00:00
$graph_title = shorthost($device['hostname']) . '::' . $entity['entPhysicalName'] . '::Fabric' . $_GET['chan'];
2011-11-14 20:21:53 +00:00
2021-03-28 17:25:30 -05:00
$rrd_filename = Rrd::name($device['hostname'], ['c6kxbar', $_GET['mod'], $_GET['chan']]);
2011-11-14 20:21:53 +00:00
}