Branch: refs/heads/1.6.0
Home: https://github.com/tribe29/checkmk
Commit: afe783c3d5dd4749314f362a934b8696dee9fe47
https://github.com/tribe29/checkmk/commit/afe783c3d5dd4749314f362a934b8696d…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2020-07-28 (Tue, 28 Jul 2020)
Changed paths:
M omd/packages/mk-livestatus/LIVESTATUS_TCP_ONLY_FROM
Log Message:
-----------
shfmt and minor shellchecker cleanups
Change-Id: I8c65e5231283caf03d77f54a8e8ceca6dfb8d77f
Commit: 2e0d6c37e40ecd0281f385374ed06616ba572de0
https://github.com/tribe29/checkmk/commit/2e0d6c37e40ecd0281f385374ed06616b…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2020-07-28 (Tue, 28 Jul 2020)
Changed paths:
A .werks/11253
M omd/packages/mk-livestatus/LIVESTATUS_TCP_ONLY_FROM
Log Message:
-----------
11253 FIX LIVESTATUS_TCP_ONLY_FROM: Allow IPv6 addresses to be configured
The previous versions prevented IPv6 addreses from being configured,
terminating a configuration change with a validation error. This is
now possible.
In addition a more helpful text has been added to the config dialog
to explain the different allowed formats.
Change-Id: Ie030a96beec825441cef114dd052c532a6251e21
Compare: https://github.com/tribe29/checkmk/compare/2e9b1d9dd69d...2e0d6c37e40e
Branch: refs/heads/master
Home: https://github.com/tribe29/checkmk
Commit: fd23d19730ba698594ab1046e3aa265c2a00d288
https://github.com/tribe29/checkmk/commit/fd23d19730ba698594ab1046e3aa265c2…
Author: Moritz Kiemer <moritz.kiemer(a)tribe29.com>
Date: 2020-07-28 (Tue, 28 Jul 2020)
Changed paths:
M cmk/base/api/agent_based/register/section_plugins.py
M cmk/base/api/agent_based/type_defs.py
M tests/unit/cmk/base/api/agent_based/register/test_section_plugins.py
M tests/unit/cmk/base/api/agent_based/register/test_section_plugins_legacy.py
M tests/unit/cmk/base/data_sources/test_host_sections.py
Log Message:
-----------
Check API: validate supersedes
We make sure that no sections are superseded implicitly.
This will make processing easier, and it is less suprising
for the user/check plugin programmer.
CMK-4232
Change-Id: Ic671ee5570c8d01663a60faa62d553f63edb0d0d
Commit: e7c450ea5a562693c806f4f2d60ede62bcda8d8c
https://github.com/tribe29/checkmk/commit/e7c450ea5a562693c806f4f2d60ede62b…
Author: Moritz Kiemer <moritz.kiemer(a)tribe29.com>
Date: 2020-07-28 (Tue, 28 Jul 2020)
Changed paths:
M cmk/base/api/agent_based/register/__init__.py
M cmk/base/api/agent_based/register/_config.py
M cmk/base/api/agent_based/register/section_plugins.py
M cmk/base/config.py
M cmk/base/data_sources/host_sections.py
M cmk/base/discovery.py
M cmk/base/inventory_plugins.py
M tests/unit/cmk/base/data_sources/test_host_sections.py
Log Message:
-----------
Check API: create trivial section definitions on the fly
Change-Id: I59dd87dd660d3e95fb2445bea7629d6ec50c9d90
Commit: ee466e144752eaba7a0a46bd60385009d1bc4a5c
https://github.com/tribe29/checkmk/commit/ee466e144752eaba7a0a46bd60385009d…
Author: Moritz Kiemer <moritz.kiemer(a)tribe29.com>
Date: 2020-07-28 (Tue, 28 Jul 2020)
Changed paths:
M cmk/base/api/agent_based/register/__init__.py
M cmk/base/api/agent_based/register/_config.py
M cmk/base/api/agent_based/register/utils.py
M cmk/base/data_sources/host_sections.py
A tests/unit/cmk/base/api/agent_based/register/test_utils.py
Log Message:
-----------
Check API: rank parsed section creators by supersedes
Raw sections may get renamed once they are parsed, if they declare it.
The get_parsed_section method of the host sections class now deals with
the task of determining which sections we need to parse, in order to end
up with the desired parsed section.
They are ranked according to their supersedings.
CMK-4232
Change-Id: I097e1ba7d17c5457657bf24389951a354505d9eb
Compare: https://github.com/tribe29/checkmk/compare/ac0d8a0aac64...ee466e144752
Branch: refs/heads/master
Home: https://github.com/tribe29/checkmk
Commit: 1ce499a031be6bdcbec06e7f783d97bf4d6324e4
https://github.com/tribe29/checkmk/commit/1ce499a031be6bdcbec06e7f783d97bf4…
Author: Mathias Laurin <mathias.laurin(a)tribe29.com>
Date: 2020-07-28 (Tue, 28 Jul 2020)
Changed paths:
M cmk/base/data_sources/_abstract.py
Log Message:
-----------
Localize usage of SectionStore
The `persisted_sections` is really only used in SNMP. We should try to
move it there. This is even more important as it is used to configure
the fetcher and should therefore not stay in the checker.
CMK-5044
Change-Id: I8e9514312b970d29cda97e1491588797e370607a
Commit: 9422032e6f4b16db208d61050a8b0ce326ff5436
https://github.com/tribe29/checkmk/commit/9422032e6f4b16db208d61050a8b0ce32…
Author: Mathias Laurin <mathias.laurin(a)tribe29.com>
Date: 2020-07-28 (Tue, 28 Jul 2020)
Changed paths:
M cmk/base/data_sources/_abstract.py
M cmk/base/data_sources/ipmi.py
M cmk/base/data_sources/piggyback.py
M cmk/base/data_sources/programs.py
M cmk/base/data_sources/snmp.py
M cmk/base/data_sources/tcp.py
Log Message:
-----------
Deobfuscate persisted_sections
`persisted_sections` is used to configure the SNMP fetcher. It should
therefore move to the SNMPConfigurator.
Analysis of the code shows that:
1. `persisted_sections` is reset upon entering `ABCDataSource._run()`.
2. `_run()` calls `_get_raw_data()` and `_get_raw_data()`
calls `_execute()`.
3. `persisted_sections` is only really used in
`SNMPDataSource._make_oid_infos()`
4. `SNMPDataSource._make_oid_infos()` is only called by
`SNMPDataSource._execute()`.
Therefore, the instance attribute was never actually used. Instead, we
pass the `persisted_sections` from `ABCDataSource._run()` to
`SNMPDataSource._make_oid_infos()`. Having it as an argument instead
of an instance variable should make further modifications easier.
CMK-5044
Change-Id: I45abdb9e29839bf0ed9a87d2939d0761fe8c005a
Compare: https://github.com/tribe29/checkmk/compare/a49548a6da9a...9422032e6f4b
Branch: refs/heads/1.6.0
Home: https://github.com/tribe29/checkmk
Commit: 2e9b1d9dd69dfff750964211a002c45d28894fc3
https://github.com/tribe29/checkmk/commit/2e9b1d9dd69dfff750964211a002c45d2…
Author: Óscar Nájera <oscar.najera(a)tribe29.com>
Date: 2020-07-28 (Tue, 28 Jul 2020)
Changed paths:
A .werks/10784
M checks/windows_tasks
A tests/unit/checks/generictests/datasets/windows_tasks.py
Log Message:
-----------
10784 FIX Windows tasks check-plugin now deals with long named scheduled tasks
Long named windows tasks are written over many lines in the agent
output. The check-pluging is now able to join these lines to use the entire
task name as the service description.
Change-Id: I854022cae9abc5a556df68d831ad5310a40710b3