Checkmk Conference#7 is going live today! Join it here!

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

Component Agent Bakery
Title Windows agent updater plugin is delivered as Python script
Date Oct 28, 2020
Checkmk Editon Checkmk Enterprise (CEE)
Checkmk Version 2.0.0b1
Level Prominent Change
Class New Feature
Compatibility Compatible - no manual interaction needed

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.

To the list of all Werks