From a26b5d424a1d358f52a08728f8cb30c10a351d69 Mon Sep 17 00:00:00 2001 From: hickert Date: Tue, 24 Aug 2010 15:05:17 +0000 Subject: [PATCH] Added several new charts git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@19443 594d385d-05f5-0310-b6e9-bd551577e9d8 --- .../chartClasses/class_cpuLoadChart.inc | 21 +++++++++++++++++++ .../chartClasses/class_durationTimeChart.inc | 21 +++++++++++++++++++ .../chartClasses/class_renderTimeChart.inc | 21 +++++++++++++++++++ 3 files changed, 63 insertions(+) create mode 100644 gosa-core/plugins/generic/statistics/chartClasses/class_cpuLoadChart.inc create mode 100644 gosa-core/plugins/generic/statistics/chartClasses/class_durationTimeChart.inc create mode 100644 gosa-core/plugins/generic/statistics/chartClasses/class_renderTimeChart.inc diff --git a/gosa-core/plugins/generic/statistics/chartClasses/class_cpuLoadChart.inc b/gosa-core/plugins/generic/statistics/chartClasses/class_cpuLoadChart.inc new file mode 100644 index 000000000..81c808431 --- /dev/null +++ b/gosa-core/plugins/generic/statistics/chartClasses/class_cpuLoadChart.inc @@ -0,0 +1,21 @@ +graphName = get_class(); + + // Generate graph which displays the memory usage over time + $this->series = array( + 'max_load' => _('Max'), + 'avg_load' => _('Avergae'), + 'min_load' => _('Min')); + $this->dataName = "usagePerInterval"; + } +} +?> diff --git a/gosa-core/plugins/generic/statistics/chartClasses/class_durationTimeChart.inc b/gosa-core/plugins/generic/statistics/chartClasses/class_durationTimeChart.inc new file mode 100644 index 000000000..874e0b504 --- /dev/null +++ b/gosa-core/plugins/generic/statistics/chartClasses/class_durationTimeChart.inc @@ -0,0 +1,21 @@ +graphName = get_class(); + + // Generate graph which displays the memory usage over time + $this->series = array( + 'max_dur' => _('Max'), + 'avg_dur' => _('Avergae'), + 'min_dur' => _('Min')); + $this->dataName = "usagePerInterval"; + } +} +?> diff --git a/gosa-core/plugins/generic/statistics/chartClasses/class_renderTimeChart.inc b/gosa-core/plugins/generic/statistics/chartClasses/class_renderTimeChart.inc new file mode 100644 index 000000000..0dd038240 --- /dev/null +++ b/gosa-core/plugins/generic/statistics/chartClasses/class_renderTimeChart.inc @@ -0,0 +1,21 @@ +graphName = get_class(); + + // Generate graph which displays the memory usage over time + $this->series = array( + 'max_render' => _('Max'), + 'avg_render' => _('Avergae'), + 'min_render' => _('Min')); + $this->dataName = "usagePerInterval"; + } +} +?> -- 2.30.2