Branch: refs/heads/master
Home:
https://github.com/tribe29/checkmk
Commit: 05309986f63320ba658148c29185e6b9143bf9c1
https://github.com/tribe29/checkmk/commit/05309986f63320ba658148c29185e6b91…
Author: dnlldl <32095302+dnlldl(a)users.noreply.github.com>
Date: 2021-08-19 (Thu, 19 Aug 2021)
Changed paths:
A .werks/13121
M agents/check_mk_agent.linux
Log Message:
-----------
13121 FIX Linux agent: Produce <tt>ntp</tt> section on additional systems
(eg. Slackware)
Before producing the <tt>ntp</tt> section, the linux agent checks if a
corresponding
<tt>systemd<tt> service or a deamon under <tt>/etc/init.d/</tt>
exits. Hence, on
systems without <tt>systemd<tt> and <tt>init.d</tt>, such as
Slackware, the
<tt>ntp</tt> section was never produced.
The agent now additionally checks if <tt>/etc/rc.d/rc.ntpd</tt> is found and
executable. This re-enables the <tt>ntp</tt> section for example for
Slackware.
Closes #389
Change-Id: Ie71c4f8cbdd350b08e71d265537ec71b79eb2fe2
Commit: 737590c2578a44e8b7ed22ce9c504cab07907f59
https://github.com/tribe29/checkmk/commit/737590c2578a44e8b7ed22ce9c504cab0…
Author: Joerg Herbel <joerg.herbel(a)tribe29.com>
Date: 2021-08-19 (Thu, 19 Aug 2021)
Changed paths:
M agents/plugins/mtr.py
Log Message:
-----------
mtr agent plugin: refactor for better unit testability
Change-Id: I55040b9a34bec6a953eef44f8fbadcb650c9647d
Commit: 40e2020aa3713abd3dd6e89c45bc75b5f1f20745
https://github.com/tribe29/checkmk/commit/40e2020aa3713abd3dd6e89c45bc75b5f…
Author: Joerg Herbel <joerg.herbel(a)tribe29.com>
Date: 2021-08-19 (Thu, 19 Aug 2021)
Changed paths:
A tests/agent-plugin-unit/test_mtr.py
Log Message:
-----------
Add unit test for agent plugin mtr
In Python 3, this plugin currently crashes. We will fix this in the
following commits.
Change-Id: I7885d49cba715b726911cf4003e18287486d4516
Commit: 3bb809ef0df4aa7aa753b0cd06f3404af3533592
https://github.com/tribe29/checkmk/commit/3bb809ef0df4aa7aa753b0cd06f3404af…
Author: Joerg Herbel <joerg.herbel(a)tribe29.com>
Date: 2021-08-19 (Thu, 19 Aug 2021)
Changed paths:
M agents/plugins/mtr.py
Log Message:
-----------
mtr agent plugin: remove unicodedata.normalize
This function is problematic for python 2/3 compatibility (expects
unicode in python 2 and strings in python 3). Furthermore, in its
current state, the plugin crashes anyway for non-ascii characters in
hostnames. Anyway, such cases should not occur and also cannot be
configured in the Checkmk GUI.
Change-Id: I77fa09526d89a946fbd3feb2b8ee24b798eae2ba
Commit: 9081e31fcd1e5cd6bb31f7b713c3ece3ffef2f4f
https://github.com/tribe29/checkmk/commit/9081e31fcd1e5cd6bb31f7b713c3ece3f…
Author: Joerg Herbel <joerg.herbel(a)tribe29.com>
Date: 2021-08-19 (Thu, 19 Aug 2021)
Changed paths:
A .werks/13120
M agents/plugins/mtr.py
M tests/agent-plugin-unit/test_mtr.py
Log Message:
-----------
13120 FIX MTR agent plugin: Make usable with Python 3
Under Python 3, the MTR agent plugin crashed with:
<tt>AttributeError: 'str' object has no attribute
'decode'</tt>.
This has been fixed. Note that you need to update the agent on
affected hosts for this werk to come into effect.
Closes #390
Change-Id: I0ff5c8b021c2301210afb80878d47563a47262f0
Commit: 191c71e15a335372e7642780700a203e5e049c62
https://github.com/tribe29/checkmk/commit/191c71e15a335372e7642780700a203e5…
Author: Joerg Herbel <joerg.herbel(a)tribe29.com>
Date: 2021-08-19 (Thu, 19 Aug 2021)
Changed paths:
M agents/plugins/mtr.py
Log Message:
-----------
mtr agent plugin: small improvement
Change-Id: If3da5c1c6f18fc3068d8ba523f431fae51ac5768
Compare:
https://github.com/tribe29/checkmk/compare/ff8d59cb86a7...191c71e15a33