Module: check_mk
Branch: master
Commit: 6e5d7a079b15c80980c2718138ad5ec39f1d1281
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=6e5d7a079b15c8…
Author: Andreas Boesl <ab(a)mathias-kettner.de>
Date: Tue Jun 9 16:03:37 2015 +0200
#2309 FIX cpu_util checks: removed superfluous space in check output
---
.werks/2309 | 10 ++++++++++
ChangeLog | 1 +
checks/cpu_util.include | 2 +-
3 files changed, 12 insertions(+), 1 deletion(-)
diff --git a/.werks/2309 b/.werks/2309
new file mode 100644
index 0000000..a8f8aa9
--- /dev/null
+++ b/.werks/2309
@@ -0,0 +1,10 @@
+Title: cpu_util checks: removed superfluous space in check output
+Level: 1
+Component: checks
+Class: fix
+Compatible: compat
+State: unknown
+Version: 1.2.7i2
+Date: 1433858568
+
+
diff --git a/ChangeLog b/ChangeLog
index 8fa01cd..b4d1599 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -18,6 +18,7 @@
* 2118 FIX: aix_sap_processlist: agent plugin now is more general to deal with
various AIX versions...
* 1253 FIX: printer_io,printer_supply: prevent discovery on not supported devices
* 2217 FIX: md: Fix handling of found and expected disks
+ * 2309 FIX: cpu_util checks: removed superfluous space in check output
Multisite:
* 2260 Improved load time of Check_MK GUI...
diff --git a/checks/cpu_util.include b/checks/cpu_util.include
index 30f5cca..efb4ea3 100644
--- a/checks/cpu_util.include
+++ b/checks/cpu_util.include
@@ -68,7 +68,7 @@ def check_cpu_util(util, params, this_time = None):
state, extrainfo, extraperf = check_levels(check_against, perfvar, levels)
if extrainfo:
- infotext += ", " + extrainfo
+ infotext += "," + extrainfo
perfdata = [ ("util", util, warn, crit, 0, 100) ]
if "average" in params: