Branch: refs/heads/master
Home:
https://github.com/tribe29/checkmk
Commit: fd342a2e438aba34aacafe07e321d4326d918c81
https://github.com/tribe29/checkmk/commit/fd342a2e438aba34aacafe07e321d4326…
Author: Mathias Laurin <mathias.laurin(a)tribe29.com>
Date: 2021-01-18 (Mon, 18 Jan 2021)
Changed paths:
M cmk/core_helpers/agent.py
M cmk/core_helpers/host_sections.py
M cmk/core_helpers/snmp.py
M tests/unit/cmk/base/sources/test_section_broker.py
M tests/unit/cmk/core_helpers/test_parsers.py
Log Message:
-----------
Filter selection in agent data parser
Before, the sections were parsed whether they were selected or not and
the filtering was done in a second step. This patch skips the parsing
of deselected sections entirely.
This further let us fix a bug where the selection handling was done
incorrectly with the piggyback data.
Change-Id: I54c175cc433c0bfad0668838f541e94a2e32ac7a