Info |
---|
This article helps troubleshoot the Python module that is used for the updater. |
Status |
---|
colour | Green |
---|
title | LAST TESTED ON CHECKMK 2.3.0P1 |
---|
|
Panel |
---|
borderColor | black |
---|
bgColor | #f8f8f8 |
---|
title | Table of Contents |
---|
|
|
Problem: zipped Python module
During the registration of the Check_MK Updater on Windows, you may face this issue:
Code Block |
---|
language | powershell |
---|
theme | RDark |
---|
|
C:\Program Files (x86)\checkmk\service>check_mk_agent.exe updater -vv
You must install Python Module to use the updater with parameters '-vv'.
To install Python Module you should use Bakery. |
...
The problem is that the Python module either was not successfully unzipped during the updater process:
Image Modified
Or the folder is completely empty
Image Modified
A possible workaround
If you have only a python_x.cap file
...
Reinstall the Python (if the folder is empty)
Code Block |
---|
language | powershell |
---|
theme | RDark |
---|
|
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 |
...
Go to Setup → Agents → Windows, Linux, Solaris, AIX → Agent rules → Set timeouts for plugins and local checks
Image Modified
Script Pattern: cmk_update_agent.checkmk.py
After saving the rule, you must bake and sign the new agent!
...
Filter by label (Content by label) |
---|
showLabels | false |
---|
max | 5 |
---|
spaces | KB |
---|
showSpace | false |
---|
sort | modified |
---|
reverse | true |
---|
type | page |
---|
cql | label in ( "agent_bakery","python","agentwindows" , "windows_agent" , "windows","updaterpython" ) and type = "page" and space = "KB" |
---|
labels | windows updater agent agent_bakery windows_agent pythonsecurity |
---|
|
...