Branch: refs/heads/master
Home:
https://github.com/tribe29/checkmk
Commit: 645198569b7646a01ea322732f7dab125e8a16dd
https://github.com/tribe29/checkmk/commit/645198569b7646a01ea322732f7dab125…
Author: Mathias Laurin <mathias.laurin(a)tribe29.com>
Date: 2020-07-16 (Thu, 16 Jul 2020)
Changed paths:
M cmk/base/automations/check_mk.py
M cmk/base/checking.py
M cmk/base/data_sources/_abstract.py
M cmk/base/data_sources/_data_sources.py
M cmk/base/data_sources/agent.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
M cmk/base/discovery.py
M cmk/base/inventory.py
M cmk/base/modes/check_mk.py
M tests/unit/cmk/base/data_sources/test_cmd_caching.py
M tests/unit/cmk/base/data_sources/test_data_sources.py
M tests/unit/cmk/base/data_sources/test_host_sections.py
M tests/unit/cmk/base/data_sources/test_snmp_data_source.py
Log Message:
-----------
Do not pass SelectedRawSection to DS.__init__
SelectedRawSection are used for filtering either before the fetcher
(SNMP) or after (Agent). Passing the SelectedRawSection to the DS is,
therefore, not required. Instead, it make the API more complex than
necessary (see the SourceBuilder for example) and does not underline the
purpose of the parameter.
Moreover, with the new API, the core only passes the hostname to the
Checker, anything else (including the SelectedRawSection) must come
somewhere else.
CMK-4976
Change-Id: Icd0f88677f298538e5abb1bebb7e4716d2b26e55
Commit: 1bb8ae6edc46d0f5ff7711fd25f2e424c4a3d108
https://github.com/tribe29/checkmk/commit/1bb8ae6edc46d0f5ff7711fd25f2e424c…
Author: Mathias Laurin <mathias.laurin(a)tribe29.com>
Date: 2020-07-16 (Thu, 16 Jul 2020)
Changed paths:
M cmk/base/automations/check_mk.py
M cmk/base/checking.py
M cmk/base/config.py
M cmk/base/core_nagios.py
M cmk/base/data_sources/_abstract.py
M cmk/base/data_sources/_data_sources.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
M cmk/base/discovery.py
M cmk/base/inventory.py
M cmk/base/modes/check_mk.py
M tests/unit/cmk/base/data_sources/test_cmd_caching.py
M tests/unit/cmk/base/data_sources/test_data_sources.py
M tests/unit/cmk/base/data_sources/test_host_sections.py
Log Message:
-----------
Replace SelectedRawSections with Set[SectionPlugin]
CMK-4976
Change-Id: I180ed7817fc0645812afa55313eab2729856074c
Compare:
https://github.com/tribe29/checkmk/compare/1010611dc924...1bb8ae6edc46