Troubleshooting "Failed to start minibox thread" cmk_update_agent.checkmk.py error

This article explains how to troubleshoot the "Failed to start minibox thread" C:\ProgramData\checkmk\agent\plugins\cmk_update_agent.checkmk.py error within Checkmk.

LAST TESTED ON CHECKMK 2.0.0P1

Table of Contents

Problem

You may be in a situation where the updater is not running and throwing the message:

2022-07-05 08:06:02.765 [srv 3144] [Err ] C:\workspace\cmk_200\windows-agent-build\agents\wnx\src\common\wtools.cpp:246: Failed updater RunStd: [2]*
2022-07-05 08:06:02.769 [srv 3144] [Err ] Failed to start minibox thread C:\ProgramData\checkmk\agent\plugins\cmk_update_agent.checkmk.py


Solution

Run the agent updater manually and check the output:

'C:\ProgramData\checkmk\agent\modules\python-3\.venv\Scripts\python.exe C:\ProgramData\checkmk\agent\plugins\cmk_update_agent.checkmk.py'

Depending on the output, please verify if the necessary modules are installed

"'C:\ProgramData\checkmk\agent\modules\python-3\.venv\Scripts"  or You must install Python Module to use the updater with parameters -vv#Problem:zippedPythonmodule