Module: check_mk
Branch: master
Commit: e5e327654d985a5a5e6d42a5fa182453dae8cc19
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=e5e327654d985a…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Wed Aug 1 09:36:20 2018 +0200
Fixed wrong default value for status perfcounters (status_[name] counter values are
integers)
Change-Id: Iaf4593f791a4c075d90e44590a769e225925b8ee
---
cmk/ec/main.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/cmk/ec/main.py b/cmk/ec/main.py
index 3fd027a..aab0ac2 100644
--- a/cmk/ec/main.py
+++ b/cmk/ec/main.py
@@ -621,7 +621,7 @@ class Perfcounters(object):
def status_columns(cls):
columns = []
for name in cls._counter_names:
- columns.append(("status_" + name, 0.0))
+ columns.append(("status_" + name, 0))
columns.append(("status_" + name.rstrip("s") +
"_rate", 0.0))
columns.append(("status_average_" + name.rstrip("s") +
"_rate", 0.0))