Branch: refs/heads/master
Home:
https://github.com/tribe29/checkmk
Commit: d33cab14cf2a3d1bd3318c7cae21489a4ce62b20
https://github.com/tribe29/checkmk/commit/d33cab14cf2a3d1bd3318c7cae21489a4…
Author: Sergey Kipnis <sergey.kipnis(a)tribe29.com>
Date: 2021-03-16 (Tue, 16 Mar 2021)
Changed paths:
A .werks/12317
Log Message:
-----------
12317 Windows agent reinstalls Python module instantly
Previously, automatic update of the Windows agent with Python module installed
has lead to long delays in the monitoring - up to few minutes, because the
installation of the Python module requires a lot of CPU time.
Since this release the problem is solved. Windows agent instead of the
uninstalling of the Python module in it's uninstallation phase, moves the
module to the temporary cache. If incoming installation of the Windows agent
uses the same version og Python module, then Python module will be moved from
cache to the ProgramData directory. If the versions are different, then old
method will be used, i.e. full installation.
Because changing of the version of the Python module happens very rarely, the
usual update of the Windows agent requires no more than few seconds.
Change-Id: Iec5c668ca0e82db6fe3bfe234736675ff6b7f727