Branch: refs/heads/1.6.0
Home:
https://github.com/tribe29/checkmk
Commit: 41a799bf95a8aa403a7bf5c9ccde63caee7c98f7
https://github.com/tribe29/checkmk/commit/41a799bf95a8aa403a7bf5c9ccde63caeā¦
Author: Sergey Kipnis <sergey.kipnis(a)tribe29.com>
Date: 2021-01-27 (Wed, 27 Jan 2021)
Changed paths:
M agents/wnx/src/common/wtools.cpp
M agents/wnx/src/common/wtools.h
M agents/wnx/src/engine/service_processor.cpp
M agents/wnx/watest/test-wtools.cpp
M agents/wnx/watest/watest.cpp
Log Message:
-----------
[SUP-5174] - enable killing of cmk-update-agent and its own forked(spawned) processes
The kill is safe, i.e. Windows agent check that name of the process is a
cmk-update-agent.exe
- add self testing parameters to watest fork and wait20 to simulate process tree
- replace KillProcessTree with KillProcessSafe and KillProcessUnsafe
- use KillProcessSafe and KillProcessTreeSafe in AppRunner::kill for the case of updater
- prevent exception throwing if name of the process is not a filesystem name(for example
"[system]")
- test everything(as Integration)
Change-Id: Ib88f1c1730a11bc9c1edd40200e330ad246bea95