Branch: refs/heads/2.3.0
Home:
https://github.com/Checkmk/checkmk
Commit: d2b0b05c07d89da68a118aea840bc3491c9b85db
https://github.com/Checkmk/checkmk/commit/d2b0b05c07d89da68a118aea840bc3491…
Author: Leonardo Petrora <leonardo.petrora(a)checkmk.com>
Date: 2024-02-07 (Wed, 07 Feb 2024)
Changed paths:
M cmk/base/plugins/agent_based/check_mk.py
M tests/integration/cmk/base/test-files/linux-agent-output
M tests/unit/cmk/base/plugins/agent_based/test_checkmk.py
M tests/unit/cmk/base/test_discovery.py
Log Message:
-----------
OS based labels: Fine tuning to check_mk section processor
OS based labels are generated on check_mk section processor based on
variables sent by agents:
* cmk/os_platform: Created from OSPlatform variable or fallback to
AgentOS
* cmk/os_type: Created from OSType variable (No fallback)
* cmk/os_name: Created from OSName variable (No fallback)
* cmk/os_version: Created from OSVersion variable (No fallback)
"No fallback" means that in case the required variable is not set, then
the corresponding label will not be created
CMK-15914
Change-Id: I41eb52832d63023c936b3b1d16c7afdbf9a4d2c1