Module: check_mk
Branch: master
Commit: 48117acfccd168c72d09f437aba33ae47a03adcc
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=48117acfccd168…
Author: Andreas Boesl <ab(a)mathias-kettner.de>
Date: Mon Nov 23 11:09:55 2015 +0100
#2798 FIX netapp_api_cpu: fixed incorrect scaling of CPU data in NetApp Clustermode
The value was off by factor 100.
---
.werks/2798 | 9 +++++++++
ChangeLog | 1 +
agents/special/agent_netapp | 2 +-
3 files changed, 11 insertions(+), 1 deletion(-)
diff --git a/.werks/2798 b/.werks/2798
new file mode 100644
index 0000000..dc77c04
--- /dev/null
+++ b/.werks/2798
@@ -0,0 +1,9 @@
+Title: netapp_api_cpu: fixed incorrect scaling of CPU data in NetApp Clustermode
+Level: 1
+Component: checks
+Compatible: compat
+Version: 1.2.7i4
+Date: 1448273327
+Class: fix
+
+The value was off by factor 100.
diff --git a/ChangeLog b/ChangeLog
index bfa1da5..3975ea1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -94,6 +94,7 @@
* 2796 FIX: apc_symetra_ext_temp: now supports temperatures measured in fahrenheit
* 2837 FIX: hitachi_hnas_temp: fixed ascii decode error, handles degree celsius now
correct
* 2844 FIX: heartbeat_crm: Fixed problem processing the state of clone set resources
+ * 2798 FIX: netapp_api_cpu: fixed incorrect scaling of CPU data in NetApp
Clustermode...
Multisite:
* 2684 Added icons for downloading agent data / walks of hosts...
diff --git a/agents/special/agent_netapp b/agents/special/agent_netapp
index 7e189b7c..fc2b14a 100755
--- a/agents/special/agent_netapp
+++ b/agents/special/agent_netapp
@@ -467,7 +467,7 @@ if netapp_mode == "clustermode":
print "<<<netapp_api_cpu:sep(9)>>>"
print format_config(node_info, "cpu-info", "system-name",
config_report = ["number-of-processors"],
config_rename =
{"number-of-processors": "num_processors"})
- print format_config(system_info, "cpu-info", "node",
config_scale = {"cpu-busytime": 10000},
+ print format_config(system_info, "cpu-info", "node",
config_scale = {"cpu-busytime": 1000000},
config_report =
["cpu-busytime", "nvram-battery-status"],
config_rename =
{"cpu-busytime": "cpu_busy"})