Versions Compared

Key

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

...

Code Block
C:\Program Files (x86)\checkmk\service>check_mk_agent.exe updater -vvC:\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.

...

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

Solution


Solutions

Increase the timeout of the updater

Via bakery

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

Info

Image Added

Script Pattern: cmk_update_agent.checkmk.py

After saving the rule you need to bake and sign the new agent!

Here we described in a detailed way how to configure caching and timeout for Windows plugins:  Asynchronous execution of Windows plugins 

...

Via config file

Code Block
titleC:\ProgramData\checkmk\check_mk.user.yml
plugins:
enabled: true
execution:
cache_age: 86400
pattern: $CUSTOM_PLUGINS_PATH$\cmk_update_agent.checkmk.py
timeout: 180


Create an exception for the AV

Please create an exception for the following paths for the AV:

Code Block
C:\ProgramData\checkmk
C:\Program Files (x86)\checkmk




Filter by label (Content by label)
showLabelsfalse
max5
spacesKB
showSpacefalse
sortmodified
reversetrue
typepage
cqllabel in ("agent_bakery","python","agent","windows_agent","windows","updater") and type = "page" and space = "KB"
labelswindows updater agent agent_bakery windows_agent python

...