Index: html/pages/device/graphs.inc.php =================================================================== --- html/pages/device/graphs.inc.php (revision 6191) +++ html/pages/device/graphs.inc.php (working copy) @@ -18,7 +18,7 @@ 'device' => $device['device_id'], 'tab' => 'graphs'); -foreach (dbFetchRows("SELECT * FROM `device_graphs` WHERE `device_id` = ? AND `enabled` = 1 ORDER BY `graph`", array($device['device_id'])) as $entry) +foreach ($device['graphs'] as $entry) { $section = $config['graph_types']['device'][$entry['graph']]['section']; if (in_array($section, $config['graph_sections'])) Index: includes/definitions.inc.php =================================================================== --- includes/definitions.inc.php (revision 6191) +++ includes/definitions.inc.php (working copy) @@ -173,6 +173,10 @@ "ssl" => "SSL", "eventlog" => "Event log", "alertlog" => "Alert log", + 'netscaler_tcp' => 'NetScaler TCP', + 'netscaler_ssl' => 'NetScaler SSL', + 'netscaler_http' => 'NetScaler HTTP', + 'netscaler_comp' => 'NetScaler Compression', ); // Routing types Index: includes/definitions/graphtypes.inc.php =================================================================== --- includes/definitions/graphtypes.inc.php (revision 6191) +++ includes/definitions/graphtypes.inc.php (working copy) @@ -15,9 +15,9 @@ $config['graph_sections'] = array('general', 'system', 'firewall', 'netstats', 'wireless', 'storage', 'vpdn', 'appliance', 'poller', 'netapp', - 'netscaler_tcp' => 'Netscaler TCP', 'netscaler_ssl' => 'Netscaler SSL', - 'netscaler_http' => 'Netscaler HTTP', 'netscaler_comp' => 'Netscaler Compression', - 'proxysg' => 'Proxy SG'); + 'netscaler_tcp', 'netscaler_ssl', + 'netscaler_http', 'netscaler_comp', + 'proxysg'); // Graph types