...
Note |
---|
Please make sure that you open the cmd/powershell as an administrator! |
The problem is , that the python Python module either was not successfully unzipped during the updater process:
Info |
---|
or Or the folder is completety completely empty
Info |
---|
A possible workaround
...
If you have only a python_x.cap file
For some reasons it is possiblereason, that you may have only one pythonone python_x.cap file in your folder. In that case, you have these two options:
Reinstall of the Python (if the folder is
...
zipped)
Code Block |
---|
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 of the Python (if the folder is empty)
Code Block |
---|
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 of the Python (if the folder is
...
zipped)
Code Block |
---|
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 |
...
Go to Setup → Agents → Windows, Linux, Solaris, AIX → AIX → Agent rules → Set → Set timeouts for plugins and local checks.
Info |
---|
Script Pattern: cmk_update_agent.checkmk.py |
After saving the rule, you need to must bake and sign the new agent!
Here we described in a detailed way detail how to configure caching and timeout for Windows plugins: Asynchronous execution of Windows plugins.
Via config file
Code Block | ||
---|---|---|
| ||
plugins: enabled: true execution: cache_age: 86400 pattern: $CUSTOM_PLUGINS_PATH$\cmk_update_agent.checkmk.py timeout: 180 |
...