"); if(is_file($config['install_dir'] . "/html/pages/device/graphs/os-$os.inc.php")) { include($config['install_dir'] . "/html/pages/device/graphs/os-$os.inc.php"); } if($os_groups[$device[os]]) {$os_group = $os_groups[$device[os]];} if(is_file($config['install_dir'] . "/html/pages/device/graphs/os-".$device['os'].".inc.php")) { /// OS Specific include($config['install_dir'] . "/html/pages/device/graphs/os-".$device['os'].".inc.php"); }elseif($os_group && is_file($config['install_dir'] . "/html/pages/device/graphs/os-".$os_group.".inc.php")) { /// OS Group Specific include($config['install_dir'] . "/html/pages/device/graphs/os-".$os_group.".inc.php"); } else { switch ($device['os']) { case "fortigate": echo("
Processor Utilisation
"); $graph_type = "fortigate_cpu"; include ("includes/print-device-graph.php"); echo("
Memory Usage
"); $graph_type = "fortigate_memory"; include ("includes/print-device-graph.php"); echo("
Firewall Sessions
"); $graph_type = "fortigate_sessions"; include ("includes/print-device-graph.php"); include("graphs/netstats.inc.php"); include("graphs/uptime.inc.php"); break; case "bcm96348": echo("
ADSL Attainable Rate
"); $graph_type = "adsl_rate"; include ("includes/print-device-graph.php"); echo("
"); echo("
ADSL Signal-to-Noise Margin
"); $graph_type = "adsl_snr"; include ("includes/print-device-graph.php"); echo("
"); echo("
ADSL Attenuation
"); $graph_type = "adsl_atn"; include ("includes/print-device-graph.php"); echo("
"); include("graphs/netstats.inc.php"); include("graphs/uptime.inc.php"); break; case "screenos": echo("
Processor Utilisation
"); $graph_type = "netscreen_cpu"; include ("includes/print-device-graph.php"); echo("
Memory Usage
"); $graph_type = "netscreen_memory"; include ("includes/print-device-graph.php"); echo("
Firewall Sessions
"); $graph_type = "netscreen_sessions"; include ("includes/print-device-graph.php"); include("graphs/netstats.inc.php"); include("graphs/uptime.inc.php"); break; case "procurve": echo("
Processor Utilisation
"); $graph_type = "device_cpu"; include ("includes/print-device-graph.php"); echo("
"); echo("
Memory Usage
"); $graph_type = "device_memory"; include ("includes/print-device-graph.php"); echo("
"); echo("
Device Uptime
"); $graph_type = "device_uptime"; include ("includes/print-device-graph.php"); break; echo("
"); break; case "powerconnect": echo("
Processor Utilisation
"); $graph_type = "device_cpu"; include ("includes/print-device-graph.php"); echo("
"); /* echo("
Memory Usage
"); $graph_type = "device_memory"; include ("includes/print-device-graph.php"); echo("
"); */ echo("
Device Uptime
"); $graph_type = "device_uptime"; include ("includes/print-device-graph.php"); break; echo("
"); break; case "Snom": echo("
Calls
"); $graph_type = "snom_calls"; include ("includes/print-device-graph.php"); } } if($memgraph) { echo(" "); } if($storagegraph) { echo("$storagegraph"); } if($loadgraph) { echo(" "); } if($tempgraph) { echo(" "); } if($mailsgraph) { echo(" "); } if($mailerrorgraph) { echo(" "); } if($couriergraph) { echo(" "); } if($ahitsgraph) { echo(" "); } if($abitsgraph) { echo(" "); } if($usersgraph) { echo(" "); } if($procsgraph) { echo(" "); } if($uptimegraph) { echo(" "); } echo(""); } ?>