Module: check_mk
Branch: master
Commit: 8c3d0ecff2050f16ca13741bd3d459249db2f0fd
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=8c3d0ecff2050f…
Author: Andreas Umbreit <au(a)mathias-kettner.de>
Date: Mon Jul 16 16:34:53 2018 +0200
CMK-527: Add Werk 5505
5505 Multiple formats for Agent Updater executable on Linux
Since Check_MK 1.5.0i2, the Linux Agent Updater executable (cmk-update-agent)
got deployed as a 64bit binary executable file, see Werk #5267 for details.
After regarding some customer feedback, we decided to bring back the cmk-update-agent
python script to Check_MK and additionally offer a 32bit binary executable format.
As a result, you can now choose between 3 executable formats for the cmk-update-agent
executable to be deployed by configuring the entry "Executable format (Linux/UNIX)" within
the Agent Updater ruleset: "64bit ELF executable", "32bit ELF executable" and "Python2 script",
with 64bit executable being the default if no rule entry is configured. Additionally, the rule entry
will be ignored on Windows hosts, so there is no need to manually exclude your Windows hosts
from a ruleset.
Please note that the deployment of the Python2 script may bring back some old problems (for
details, see again Werk #5267) and hence we can offer no support for troubleshooting while deploying
the Agent Updater as a script. However, a mail to feedback(a)check-mk.org is much appreciated.
Change-Id: I0539bfcf340ea1446276614dc3368c8d183eae32
---
.werks/5505 | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
diff --git a/.werks/5505 b/.werks/5505
new file mode 100644
index 0000000..5758b83
--- /dev/null
+++ b/.werks/5505
@@ -0,0 +1,25 @@
+Title: Multiple formats for Agent Updater executable on Linux
+Level: 2
+Component: agents
+Class: feature
+Compatible: compat
+Edition: cee
+State: unknown
+Version: 1.6.0i1
+Date: 1531750420
+
+Since Check_MK 1.5.0i2, the Linux Agent Updater executable (cmk-update-agent)
+got deployed as a 64bit binary executable file, see Werk #5267 for details.
+
+After regarding some customer feedback, we decided to bring back the cmk-update-agent
+python script to Check_MK and additionally offer a 32bit binary executable format.
+As a result, you can now choose between 3 executable formats for the cmk-update-agent
+executable to be deployed by configuring the entry "Executable format (Linux/UNIX)" within
+the Agent Updater ruleset: "64bit ELF executable", "32bit ELF executable" and "Python2 script",
+with 64bit executable being the default if no rule entry is configured. Additionally, the rule entry
+will be ignored on Windows hosts, so there is no need to manually exclude your Windows hosts
+from a ruleset.
+
+Please note that the deployment of the Python2 script may bring back some old problems (for
+details, see again Werk #5267) and hence we can offer no support for troubleshooting while deploying
+the Agent Updater as a script. However, a mail to feedback(a)check-mk.org is much appreciated.
Module: check_mk
Branch: master
Commit: d77e1cb1c43b1dfa49e085bb6692833891ac8d4b
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=d77e1cb1c43b1d…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Mon Jul 16 20:37:09 2018 +0200
Another try to fix the GUI crawler
Change-Id: I46a9111b5f22ba3123d6dde957d5d6dce00f33cf
---
cmk/gui/wato/__init__.py | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/cmk/gui/wato/__init__.py b/cmk/gui/wato/__init__.py
index a01ab6d..26dbcc9 100644
--- a/cmk/gui/wato/__init__.py
+++ b/cmk/gui/wato/__init__.py
@@ -16694,7 +16694,6 @@ class ModeRegistry(cmk.gui.plugin_registry.ClassRegistry):
mode_registry = ModeRegistry()
-mode_registry.load_plugins()
modes = {}
# TODO: Drop this and probably replace with a hook at button rendering?
@@ -17007,6 +17006,10 @@ def load_plugins(force):
utils.load_web_plugins("wato", globals())
+ # TODO: Needs to be done after plugin loading. Temporarily needed till we have
+ # changed the registry to explicit registration in the next days
+ mode_registry.load_plugins()
+
if modes:
raise MKGeneralException(_("Deprecated WATO modes found: %r. "
"They need to be refactored to new API.") % modes.keys())