Module: check_mk
Branch: master
Commit: c310f35475b4791756bbd1776192841ae0bb1b46
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=c310f35475b479…
Author: Andreas Boesl <ab(a)mathias-kettner.de>
Date: Tue Jun 24 08:54:46 2014 +0200
FIX check_mk-winperf.cpuusage.php: now displays AVERAGE values instead of MAX
This change makes pnpgraphs with greater timeframes consistent
---
.werks/942 | 8 ++++++++
ChangeLog | 1 +
pnp-templates/check_mk-winperf.cpuusage.php | 2 +-
3 files changed, 10 insertions(+), 1 deletion(-)
diff --git a/.werks/942 b/.werks/942
new file mode 100644
index 0000000..272d7cd
--- /dev/null
+++ b/.werks/942
@@ -0,0 +1,8 @@
+Title: check_mk-winperf.cpuusage.php: now displays AVERAGE values instead of MAX
+Level: 1
+Component: multisite
+Version: 1.2.5i4
+Date: 1403592799
+Class: fix
+
+This change makes pnpgraphs with greater timeframes consistent
diff --git a/ChangeLog b/ChangeLog
index ddf46eb..c7476e3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -31,6 +31,7 @@
* 0939 FIX: Fixed multisite exception caused by missing explanation text for a
AUTODELETE event action
* 0822 FIX: Sorting columns in view dashlets is now working again
* 0941 FIX: esx_vsphere_hostsystem.cpu_usage: pnpgraph now displays AVERAGE instead
of MAX values in all timeframes...
+ * 0942 FIX: check_mk-winperf.cpuusage.php: now displays AVERAGE values instead of
MAX...
WATO:
* 0984 Fix code injection for logged in users via automation url...
diff --git a/pnp-templates/check_mk-winperf.cpuusage.php
b/pnp-templates/check_mk-winperf.cpuusage.php
index b8d71b9..e9a2cbe 100644
--- a/pnp-templates/check_mk-winperf.cpuusage.php
+++ b/pnp-templates/check_mk-winperf.cpuusage.php
@@ -26,7 +26,7 @@
$opt[1] = "--vertical-label 'Percent' -l0 -u100 --title \"CPU
Utilization of $hostname\" ";
-$def[1] = "DEF:usage=$RRDFILE[1]:$DS[1]:MAX ";
+$def[1] = "DEF:usage=$RRDFILE[1]:$DS[1]:AVERAGE";
$def[1] .= "AREA:usage#60f020:\"CPU utilization\" ";
$def[1] .= "LINE:usage#40d010 ";