Module: check_mk
Branch: master
Commit: c5c45f4c558adde3a1fa8168bc322b857eef6d96
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=c5c45f4c558add…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Tue Jan 12 14:27:25 2016 +0100
Updated bug entries #2418
---
.bugs/2418 | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
diff --git a/.bugs/2418 b/.bugs/2418
new file mode 100644
index 0000000..0d93e47
--- /dev/null
+++ b/.bugs/2418
@@ -0,0 +1,18 @@
+Title: Replace factory_settings[] and ..._default_levels with "default_params"
in check_info
+Component: core
+State: open
+Date: 2016-01-12 14:25:05
+Targetversion: future
+Class: todo
+
+We can now remove the ..._default_levels in the checks because almost no
+one uses them in main.mk manually. WATO does not need them. So rather
+introduce a new optional key default_params in check_info["foo"] for setting
+default params.
+
+If the type of those is dict, then merging takes place and the discovery
+function must return a dict as params.
+
+If the type is not dict, then not merging takes place in the discovery
+function can return None -> default params are being used, or any other
+value -> that is being used.