Werk #11464: Windows agent updater plugin is delivered as Python script

Komponente Agent Bakery
Titel Windows agent updater plugin is delivered as Python script
Datum 28.10.2020
Checkmk-Editon Checkmk Enterprise (CEE)
Checkmk-Version 2.0.0b1
Level Bedeutende Änderung
Klasse Neues Feature
Kompatibilität Kompatibel - benötigt kein manuelles Eingreifen

Since this release Windows Agent update plugin is delivered as a python file with name cmk_update_agent.checkmk.py

This feature has next advantages:

  • eliminates false virus alarms for the plugin
  • improves stability and performance
  • speeds up development
  • improves diagnostic

To use the plugin from the command line you may use provide next methods:

1. Use Windows agent:

cd "%ProgramFiles(x86)%\checkmk\service"
check_mk_agent updater [params]

2. Use provided with Windows agent Python module:

cd "%ProgramData%\checkmk\agent\plugins"
..\modules\Python-3.8\.venv\Scripts\python cmk_update_agent.checkmk.py [params]

In both cases params 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.

Zur Liste aller Werks