Module: check_mk
Branch: master
Commit: 22b9ca22d447a9db2a4a0bce56f23e19bec268cc
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=22b9ca22d447a9…
Author: Andreas Umbreit <au(a)mathias-kettner.de>
Date: Wed Jan 23 11:52:06 2019 +0100
6939 FIX Improve agent updater start script compatibility on Solaris
The agent updater start script (located at /usr/bin/cmk-update-agent)
is now compatible to older shells like the default sh on Solaris 10.
Please note that you still need a python 2.7 installation and corresponding
packages "requests" and "pyOpenSSL" in order to run the agent updater
on Solaris. You can obtain these software packages e.g. via the
"OpenCSW" project using the "pkutil" tool.
Change-Id: I09a9b88ec7da7122a8cd1881457325b4ac65d3a1
---
.werks/6939 | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
diff --git a/.werks/6939 b/.werks/6939
new file mode 100644
index 0000000..652a895
--- /dev/null
+++ b/.werks/6939
@@ -0,0 +1,16 @@
+Title: Improve agent updater start script compatibility on Solaris
+Level: 1
+Component: agents
+Compatible: compat
+Edition: cee
+Version: 1.6.0i1
+Date: 1548240334
+Class: fix
+
+The agent updater start script (located at /usr/bin/cmk-update-agent)
+is now compatible to older shells like the default sh on Solaris 10.
+
+Please note that you still need a python 2.7 installation and corresponding
+packages "requests" and "pyOpenSSL" in order to run the agent updater
+on Solaris. You can obtain these software packages e.g. via the
+"OpenCSW" project using the "pkutil" tool.
Module: check_mk
Branch: master
Commit: 11ea6a9977168088c41aa86404b9c98b04e6191a
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=11ea6a99771680…
Author: Andreas Umbreit <au(a)mathias-kettner.de>
Date: Wed Jan 23 11:43:21 2019 +0100
CMK-1439: Add Werk 6935
Change-Id: I4d55b8950f138735a4e6378e0011d21bd5c1df4f
---
.werks/6935 | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
diff --git a/.werks/6935 b/.werks/6935
new file mode 100644
index 0000000..442b858
--- /dev/null
+++ b/.werks/6935
@@ -0,0 +1,19 @@
+Title: Improvements in Solaris Agent packages
+Level: 1
+Component: agents
+Class: fix
+Compatible: compat
+Edition: cee
+State: unknown
+Version: 1.6.0i1
+Date: 1544712266
+
+This werk introduces some improvements in the postinstall- and postuninstall-routines
+for Solaris agent packages that come from the agent bakery:
+<ul>
+<li>Properly remove the installed inetd service. This has been done incompletely
+before, which could lead to problems on reinstallation.</li>
+<li>simplified syntax in order to avoid errors like <code>/var/sadm/pkg/check-mk-agent/install/postinstall: !: not found</code>
+on some Solaris systems.</li>
+<li>some improvements in timing and robustness.</li>
+</ul>
Module: check_mk
Branch: master
Commit: 480a34220775def428d02b078e993aa2aa06e5ba
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=480a34220775de…
Author: Moritz Kiemer <mo(a)mathias-kettner.de>
Date: Wed Jan 23 15:11:34 2019 +0100
mk_jolokia: include keys w/o default
Change-Id: I2403358e69ac1fe22f1e23ac91779cf7f1e84a56
---
agents/plugins/mk_jolokia.py | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/agents/plugins/mk_jolokia.py b/agents/plugins/mk_jolokia.py
index e2a2524..4dafc96 100755
--- a/agents/plugins/mk_jolokia.py
+++ b/agents/plugins/mk_jolokia.py
@@ -549,12 +549,12 @@ def yield_configured_instances():
if os.path.exists(conffile):
execfile(conffile, {}, custom_config)
- # Compute list of instances to monitor. If the user has defined
- # instances in his configuration, we will use this (a list
- # of dicts).
- instances = custom_config.pop("instances", [{}])
- for inst in instances:
- yield {k: inst.get(k, custom_config[k]) for k in custom_config}
+ # Generate list of instances to monitor. If the user has defined
+ # instances in his configuration, we will use this (a list of dicts).
+ individual_configs = custom_config.pop("instances", [{}])
+ for cfg in individual_configs:
+ keys = set(cfg.keys() + custom_config.keys())
+ yield {k: cfg.get(k, custom_config[k]) for k in keys}
def main(configs_iterable=None):
Module: check_mk
Branch: master
Commit: 10a10c3152aae43eaf30f9e2afdfddbf331f9f71
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=10a10c3152aae4…
Author: Tom Baerwinkel <tb(a)mathias-kettner.de>
Date: Thu Dec 20 11:33:57 2018 +0100
7054 agent_vsphere, esx_vsphere_hostsystem.multipath: use new API endpoint
For ESX versions above or equal to 6.5 the API endpoint "multipathState"
does not deliver sufficient data for the subcheck esx_vsphere_hostsystem.multipath
which may lead to a wrong output of the subcheck. Therefore, the subcheck now
uses the "multipathInfo" API endpoint instead.
For ESX versions below 6.5 which already use the ID of a LUN as an item
no further actions are necessary. For new ESX version which use an item
like e.g. "L0 physical" a service rediscovery is necessary. After the
rediscovery new ESX versions will use the ID of a LUN as an item as well.
CMK-1362
Change-Id: I24d0bd6d16b1cbbced475f50706b770f2ee8392a
---
.werks/7054 | 18 ++
agents/special/agent_vsphere | 21 +-
checks/esx_vsphere_hostsystem | 70 +------
.../esx_vsphere_hostsystem_55_regression.py | 60 ++++++
.../esx_vsphere_hostsystem_esx51_regression.py | 232 +--------------------
.../datasets/esx_vsphere_hostsystem_regression.py | 56 ++---
6 files changed, 136 insertions(+), 321 deletions(-)
Diff: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commitdiff;h=10a10c3152…