Module: check_mk
Branch: master
Commit: e15de0b7a3818e2a7896d674f64f34872ad05868
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=e15de0b7a3818e…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Tue Oct 24 13:52:54 2017 +0200
The core is now only requesting EC columns from the EC, we can simplify things a bit
Change-Id: I184e59e7e3264ce4ee43e7d5df749f544d756ade
---
bin/mkeventd | 10 +---------
1 file changed, 1 insertion(+), 9 deletions(-)
diff --git a/bin/mkeventd b/bin/mkeventd
index 86cba42..4071499 100755
--- a/bin/mkeventd
+++ b/bin/mkeventd
@@ -3148,15 +3148,7 @@ class QueryGET(Query):
self.output_format = argument
elif header == "Columns":
- # TODO: The EC is handling unknown columns different than regular
livestatus. The EC
- # silently ignores them and outputs only the known ones. We can only
fix this in case
- # the core sends only the columns that the EC knows. At the moment it
also requests
- # the host columns.
- #self.requested_columns = argument.split(" ")
- self.requested_columns = []
- for column_name in argument.split(" "):
- if column_name in self.table.column_defaults:
- self.requested_columns.append(column_name)
+ self.requested_columns = argument.split(" ")
elif header == "Filter":
name, opfunc, argument = self._parse_filter(argument)