Files

15 lines
576 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 = ?', array($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
$rrd_filename = rrd_name($device['hostname'], array('c6kxbar', $_GET['mod'], $_GET['chan']));
2011-11-14 20:21:53 +00:00
}