...
Via config file
Code Block |
---|
language | powershell |
---|
theme | RDark |
---|
title | C:\ProgramData\checkmk\check_mk.user.yml |
---|
|
plugins:
enabled: true
execution:
cache_age: 86400
pattern: $CUSTOM_PLUGINS_PATH$\cmk_update_agent.checkmk.py
timeout: 180 |
...
Please create an exception for the following paths for the AV:
Code Block |
---|
language | powershell |
---|
theme | RDark |
---|
|
C:\ProgramData\checkmk
C:\Program Files (x86)\checkmk |
...
Reinstall python
Code Block |
---|
|
:: Reinstall Checkmk Python module for Windows agent
@echo off
if not exist "%ProgramData%\checkmk\agent\install\modules\python-3.8.zip" (
echo "%ProgramData%\checkmk\agent\install\modules\python-3.8.zip" is absent, impossible to reinstall
exit /b 1
)
cd %ProgramData%\checkmk\agent || echo "Windows agent is not installed" && exit /b 11
net stop checkmkservice
mkdir modules\python-3.8
cd modules\python-3.8
expand %ProgramData%\checkmk\agent\install\modules\python-3.8.zip -F:* %ProgramData%\checkmk\agent\modules\python-3.8 1>nul
call postinstall.cmd
net start checkmkservice |
...