Branch: refs/heads/2.0.0
Home:
https://github.com/tribe29/checkmk
Commit: b7fa10899396c660289d460eed90eb27316a1e7e
https://github.com/tribe29/checkmk/commit/b7fa10899396c660289d460eed90eb273…
Author: Benedikt Seidl <benedikt.seidl(a)tribe29.com>
Date: 2021-03-29 (Mon, 29 Mar 2021)
Changed paths:
A .werks/12309
M cmk/base/core_nagios.py
M tests/unit/cmk/base/test_core_nagios.py
Log Message:
-----------
12309 FIX nagios core: include legacy dependencies of new api plugins
This only applies to the raw edition with nagios core: If a new style
check plugin is interested in multiple sections, and one section is a
legacy style check, this section was not parsed at all and the string
table of the section was forwarded to the new style api check, which then
crashes as it expected the parsed data.
For example: The diskstat check (new style api) is dependent on multipath
(legacy check) and crashed if the multipath check was disabled.
This should now be fixed.
CMK-7489
Change-Id: Ie1a5b6842a15b0ae54b83837bc180c2dae563357