Module: check_mk
Branch: master
Commit: 986c05f216ce3715c09927fbc144b1a5c33dcfc1
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=986c05f216ce37…
Author: Simon Betz <si(a)mathias-kettner.de>
Date: Fri Sep 11 13:23:31 2015 +0200
removed space before %
---
checks/cpu_util.include | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/checks/cpu_util.include b/checks/cpu_util.include
index 55c16ff..bec4bea 100644
--- a/checks/cpu_util.include
+++ b/checks/cpu_util.include
@@ -47,14 +47,14 @@ def check_cpu_util(util, params, this_time = None):
"levels" : params,
}
- infotext = "%.1f %% used" % util
+ infotext = "%.1f%% used" % util
# Averaging
if "average" in params:
util_avg = get_average("cpu_utilization.avg", this_time, util,
params["average"])
check_against = util_avg
perfvar = "avg"
- infotext += ", %dmin average: %.1f %%" % (params["average"],
util_avg)
+ infotext += ", %dmin average: %.1f%%" % (params["average"],
util_avg)
else:
check_against = util
perfvar = "util"