Module: check_mk
Branch: master
Commit: 3eaa413f13d32007eb9f585cd8de76ecde76ab2c
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=3eaa413f13d320…
Author: Simon Betz <si(a)mathias-kettner.de>
Date: Wed Feb 7 09:35:55 2018 +0100
5761 FIX ipmi: Fixed wrong perfdata format which led to RRD creation errors
Change-Id: Id08d6423bf401e9fefe29de79eb315eaabaf3e26
---
.werks/5761 | 11 +++++++++++
checks/ipmi_common.include | 2 +-
2 files changed, 12 insertions(+), 1 deletion(-)
diff --git a/.werks/5761 b/.werks/5761
new file mode 100644
index 0000000..27aa203
--- /dev/null
+++ b/.werks/5761
@@ -0,0 +1,11 @@
+Title: ipmi: Fixed wrong perfdata format which led to RRD creation errors
+Level: 1
+Component: checks
+Class: fix
+Compatible: compat
+Edition: cre
+State: unknown
+Version: 1.5.0i3
+Date: 1517992409
+
+
diff --git a/checks/ipmi_common.include b/checks/ipmi_common.include
index e568fe8..9fe5d1c 100644
--- a/checks/ipmi_common.include
+++ b/checks/ipmi_common.include
@@ -92,7 +92,7 @@ def check_ipmi_common_detailed(item, params, data, what,
status_txt_mapping):
if what == "ipmitool":
old_perf_val = str(val)
if unit is not None:
- old_perf_val += unit
+ old_perf_val += " %s" % unit
perfdata = [ (item, old_perf_val, warn_high, crit_high) ]
elif what == "freeipmi" and \