Branch: refs/heads/master
Home:
https://github.com/tribe29/checkmk
Commit: a9586ea8fbb98d94f1132bde130964bb27284267
https://github.com/tribe29/checkmk/commit/a9586ea8fbb98d94f1132bde130964bb2…
Author: Sergey Kipnis <sergey.kipnis(a)tribe29.com>
Date: 2020-10-28 (Wed, 28 Oct 2020)
Changed paths:
A .werks/11464
Log Message:
-----------
11464 Windows agent updater plugin is delivered as Python script
Since this release Windows Agent update plugin is delivered as a python file
with name <tt>cmk_update_agent.checkmk.py</tt>
This feature has next advantages:
<ul>
<li>eliminates false virus alarms for the plugin</li>
<li>improves stability and performance</li>
<li>speeds up development</li>
<li>improves diagnostic</li>
</ul>
To use the plugin from the command line you may use provide next methods:
1. Use Windows agent:
C+:
cd "%ProgramFiles(x86)%\checkmk\service"
check_mk_agent updater [params]
C-:
2. Use provided with Windows agent Python module:
C+:
cd "%ProgramData%\checkmk\agent\plugins"
..\modules\Python-3.8\.venv\Scripts\python cmk_update_agent.checkmk.py [params]
C-:
3. Use already installed Windows Python:
C+:
cd "%ProgramData%\checkmk\agent\plugins"
python.exe cmk_update_agent.checkmk.py [params]
C-:
In both cases <tt>params</tt> means parametres of the Windows agent updater
plugin.
You could even execute the Agent updater with another Python installation, but it
is not recommended, because you would have to ensure that all module dependencies
are installed in your environment. We have solved this problem for you by providing
a standard Python environment for Windows, so it should be used.
Change-Id: I3968b7a1e6c0cbd37806954749ddcc18a97daff1