Branch: refs/heads/master
Home:
https://github.com/tribe29/checkmk
Commit: 3d9eaa7d9c87eb9cd52f3b99eff8cacbc995bf5e
https://github.com/tribe29/checkmk/commit/3d9eaa7d9c87eb9cd52f3b99eff8cacbc…
Author: Moritz Kiemer <moritz.kiemer(a)tribe29.com>
Date: 2020-03-25 (Wed, 25 Mar 2020)
Changed paths:
A .werks/10601
M cmk/base/config.py
M cmk/base/data_sources/host_sections.py
M cmk/base/data_sources/snmp.py
M cmk/base/discovery.py
M cmk/base/snmp_scan.py
M tests-py3/integration/cmk/base/test_automations.py
M tests-py3/integration/cmk/base/test_check_variables.py
M tests-py3/integration/cmk/base/test_modes.py
M tests-py3/unit/checks/test_generic_legacy_conversion.py
M tests/testlib/base.py
Log Message:
-----------
API: extract agent section
We use the aggregated information from check_info, snmp_scan_functions
and snmp_info in cmk.base.config to create section objects compliant
to the new API requirements of cmk.base.api.agent_based.
The resulting values from the 'registered_{snmp,agent}_sections'
dictionaries are then used when
* scanning for SNMP devices
* fetching the SNMP data
* parsing the raw sections
* discovering HostLabels
A lot of cleanup remains to be done once we have a similar conversion
for check- and inventory plugins in place.
CMK-4005
Change-Id: I7fd6df3292f9f47508902bb9f448215852298940