Branch: refs/heads/master
Home:
https://github.com/tribe29/checkmk
Commit: 79c84eaec0f0c0ef3faf137195261880c20c0e0b
https://github.com/tribe29/checkmk/commit/79c84eaec0f0c0ef3faf137195261880c…
Author: Joerg Herbel <joerg.herbel(a)tribe29.com>
Date: 2020-09-23 (Wed, 23 Sep 2020)
Changed paths:
M cmk/base/plugins/agent_based/ps_section.py
M cmk/base/plugins/agent_based/utils/ps.py
M tests/unit/cmk/base/plugins/agent_based/utils/test_ps.py
Log Message:
-----------
Fix 2 issues with sections ps and ps_lnx and check plugin ps
* The section ps_lnx now supersedes the section ps. This is necessary
because the parsed_section_name of both sections is "ps". This resulted
in the check plugin ps being passed the section ps_lnx for discovery but
the section ps for checking.
* The host_label_function of the sections ps and ps_lnx did not yield
the right class for discovering HostLabels.
Change-Id: Ie3f44715eaa255100c5a939f7bf4972abc514bb0