Module: check_mk
Branch: master
Commit: 8ccb7d750ad4de0e0af56996dc359e6e428af9b4
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=8ccb7d750ad4de…
Author: Simon Betz <si(a)mathias-kettner.de>
Date: Wed Feb 7 09:51:16 2018 +0100
Revert "5761 FIX ipmi: Fixed wrong perfdata format which led to RRD creation
errors"
This reverts commit 3eaa413f13d32007eb9f585cd8de76ecde76ab2c.
---
.werks/5761 | 11 -----------
checks/ipmi_common.include | 2 +-
2 files changed, 1 insertion(+), 12 deletions(-)
diff --git a/.werks/5761 b/.werks/5761
deleted file mode 100644
index 27aa203..0000000
--- a/.werks/5761
+++ /dev/null
@@ -1,11 +0,0 @@
-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 9fe5d1c..e568fe8 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 += " %s" % unit
+ old_perf_val += unit
perfdata = [ (item, old_perf_val, warn_high, crit_high) ]
elif what == "freeipmi" and \