Branch: refs/heads/2.0.0
Home: https://github.com/tribe29/checkmk
Commit: 990b90d7365bd6cb778c3ebdb9802c15dfa2c78c
https://github.com/tribe29/checkmk/commit/990b90d7365bd6cb778c3ebdb9802c15d…
Author: Andreas Umbreit <andreas.umbreit(a)tribe29.com>
Date: 2021-05-27 (Thu, 27 May 2021)
Changed paths:
A .werks/12678
M agents/check_mk_agent.aix
M agents/check_mk_agent.linux
M agents/check_mk_agent.solaris
M cmk/base/checkers/agent.py
Log Message:
-----------
12678 UNIX agent: Better error communication for failed python plugins
Werk #12149 states out that, on UNIX, a python agent plugin called <tt><em>plugin</em>.py</tt>
is always executed with Python 3, while a plugin called <tt><em>plugin</em>_2.py</tt> is always
executed with Python 2.
While an error will be communicated if there is no suitable Python installation available,
some other Python agent plugin related error situations pass silently. The cause for this is
that the agent assumes that python plugins always come as a pair of Python 3 and Python 2 version,
but this is not always the case in reality.
With this Werk, the communication is improved, by showing a WARN state in the Check_MK service
for the following situations:
<ul>
<li><tt><em>plugin</em>.py</tt> is deployed, but found no Python 3 installation, and there is no
<tt><i>plugin</i>_2.py</tt> counterpart. The reason "Missing Python 3 installation" will be
displayed alongside the failed plugin.</li>
<li>The other way round: <tt><em>plugin</em>_2.py</tt> is deployed, but found no Python 2
installation, and there is no <tt><i>plugin</i>.py</tt> counterpart. The reason "Missing Python 2
installation" will be displayed alongside the failed plugin.</li>
<ul>
SUP-6421
Change-Id: I43f58689b4c288f28548243a857209f1bfb444c9
Commit: ad3ffba62459f12b9d8d584d8200e3be7dc5e2d9
https://github.com/tribe29/checkmk/commit/ad3ffba62459f12b9d8d584d8200e3be7…
Author: Andreas Umbreit <andreas.umbreit(a)tribe29.com>
Date: 2021-05-27 (Thu, 27 May 2021)
Changed paths:
M agents/check_mk_agent.linux
M agents/check_mk_agent.solaris
Log Message:
-----------
Linux/Solaris agent: Remove "new" style substring expansion
Substring expansion with a negative length is only available
since bash 4.2. Replace it with a more compatible expansion.
Change-Id: I141b25d6bf6ac0b6ba45f5f840154e3c18f4f963
Compare: https://github.com/tribe29/checkmk/compare/967a6c60cff0...ad3ffba62459
Branch: refs/heads/master
Home: https://github.com/tribe29/checkmk
Commit: 0559d7f9065d7d43bda3f1b7aa3a1e80141d2d38
https://github.com/tribe29/checkmk/commit/0559d7f9065d7d43bda3f1b7aa3a1e801…
Author: Sven Panne <sven.panne(a)tribe29.com>
Date: 2021-05-27 (Thu, 27 May 2021)
Changed paths:
M Pipfile
M Pipfile.lock
M omd/packages/python3-modules/python3-modules.make
Log Message:
-----------
Added python-lsp-server to virtual environment.
This makes it easy to use an LSP backend from e.g. spacemacs.
Synched Pipfile and related Makefile again on the way.
Change-Id: I2c01bfeed17ded2530094abe2b0aa7aafbca81b3
Branch: refs/heads/master
Home: https://github.com/tribe29/checkmk
Commit: 23326776a0028262bf0a7e253f53b263569b67a7
https://github.com/tribe29/checkmk/commit/23326776a0028262bf0a7e253f53b2635…
Author: Andreas Umbreit <andreas.umbreit(a)tribe29.com>
Date: 2021-05-27 (Thu, 27 May 2021)
Changed paths:
A .werks/12678
M agents/check_mk_agent.aix
M agents/check_mk_agent.linux
M agents/check_mk_agent.solaris
M cmk/core_helpers/agent.py
Log Message:
-----------
12678 UNIX agent: Better error communication for failed python plugins
Werk #12149 states out that, on UNIX, a python agent plugin called <tt><em>plugin</em>.py</tt>
is always executed with Python 3, while a plugin called <tt><em>plugin</em>_2.py</tt> is always
executed with Python 2.
While an error will be communicated if there is no suitable Python installation available,
some other Python agent plugin related error situations pass silently. The cause for this is
that the agent assumes that python plugins always come as a pair of Python 3 and Python 2 version,
but this is not always the case in reality.
With this Werk, the communication is improved, by showing a WARN state in the Check_MK service
for the following situations:
<ul>
<li><tt><em>plugin</em>.py</tt> is deployed, but found no Python 3 installation, and there is no
<tt><i>plugin</i>_2.py</tt> counterpart. The reason "Missing Python 3 installation" will be
displayed alongside the failed plugin.</li>
<li>The other way round: <tt><em>plugin</em>_2.py</tt> is deployed, but found no Python 2
installation, and there is no <tt><i>plugin</i>.py</tt> counterpart. The reason "Missing Python 2
installation" will be displayed alongside the failed plugin.</li>
<ul>
SUP-6421
Change-Id: I43f58689b4c288f28548243a857209f1bfb444c9
Commit: 992dff53f832c2ed268a2b83243b6ee83065fbb9
https://github.com/tribe29/checkmk/commit/992dff53f832c2ed268a2b83243b6ee83…
Author: Andreas Umbreit <andreas.umbreit(a)tribe29.com>
Date: 2021-05-27 (Thu, 27 May 2021)
Changed paths:
M agents/check_mk_agent.linux
M agents/check_mk_agent.solaris
Log Message:
-----------
Linux/Solaris agent: Remove "new" style substring expansion
Substring expansion with a negative length is only available
since bash 4.2. Replace it with a more compatible expansion.
Change-Id: I141b25d6bf6ac0b6ba45f5f840154e3c18f4f963
Compare: https://github.com/tribe29/checkmk/compare/bb616295eca1...992dff53f832
Branch: refs/heads/master
Home: https://github.com/tribe29/checkmk
Commit: bb616295eca19b03de46f3afe8bc8fc07adc8e4a
https://github.com/tribe29/checkmk/commit/bb616295eca19b03de46f3afe8bc8fc07…
Author: Sofia Colakovic <sofia.colakovic(a)tribe29.com>
Date: 2021-05-27 (Thu, 27 May 2021)
Changed paths:
A tests/unit/checks/test_sap_hana_diskusage.py
A tests/unit/checks/test_sap_hana_ess.py
A tests/unit/checks/test_sap_hana_events.py
A tests/unit/checks/test_sap_hana_memrate.py
A tests/unit/checks/test_sap_hana_proc.py
A tests/unit/checks/test_sap_hana_replication_status.py
Log Message:
-----------
sap hana unit tests
Change-Id: Ib9688dd3c0e1e3af23d4b3ae7d4eda30dfd080e1