Werk #12309: nagios core: include legacy dependencies of new api plugins

Component Core & setup
Title nagios core: include legacy dependencies of new api plugins
Date Mar 26, 2021
Checkmk Edition Checkmk Raw (CRE)
Checkmk Version 2.0.0p2 2.1.0b1
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed

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.

To the list of all Werks