Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Note

Please make sure that you open the cmd/powershell PowerShell as an administrator!


The problem is that the Python module either was not successfully unzipped during the updater process:

...

Image Added

...


Or the folder is completely empty

...

Image Added

A possible workaround

If you have only a python_x.cap file 

For some reason, you may have only one python_x.cap file in your folder. In that case, you have these two options:

Reinstall

...

the Python (if the folder is zipped)

Code Block
languagepowershell
themeRDark
mkdir C:\ProgramData\checkmk\agent\modules\python-3 & expand C:\ProgramData\checkmk\agent\install\modules\python-3.cab -F:* C:\ProgramData\checkmk\agent\modules\python-3 && cd C:\ProgramData\checkmk\agent\modules\python-3 && call postinstall.cmd

Reinstall

...

the Python (if the folder is empty)

Code Block
languagepowershell
themeRDark
expand C:\ProgramData\checkmk\agent\install\modules\python-3.cab -F:* C:\ProgramData\checkmk\agent\modules\python-3 && cd C:\ProgramData\checkmk\agent\modules\python-3 && call postinstall.cmd


Reinstall

...

the Python (if the folder is zipped)

Code Block
languagepowershell
themeRDark
mkdir C:\ProgramData\checkmk\agent\modules\python-3.8 & expand C:\ProgramData\checkmk\agent\install\modules\python-3.8.zip -F:* C:\ProgramData\checkmk\agent\modules\python-3.8 && cd C:\ProgramData\checkmk\agent\modules\python-3.8  && call postinstall.cmd

Reinstall

...

the Python (if the folder is empty)

Code Block
languagepowershell
themeRDark
expand C:\ProgramData\checkmk\agent\install\modules\python-3.8.zip -F:* C:\ProgramData\checkmk\agent\modules\python-3.8 && cd C:\ProgramData\checkmk\agent\modules\python-3.8  && call postinstall.cmd

...

Go to Setup → Agents → Windows, Linux, Solaris, AIX → Agent rules → Set timeouts for plugins and local checks.

...

Image Added

Script Pattern: cmk_update_agent.checkmk.py


After saving the rule, you must bake and sign the new agent!

...