Versions Compared

Key

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

Problem

The Windows Management Instrumentation tends to time out on a regular basis, no matter which version is used or how big the machine is sized. Since WMI is responsible for collecting all performance data within Windows (which can be also viewed with perfmon on the specific machines), this may likely result in Checkmk services go stale, such as "Memory & Pagefile" and "Processor Queue". 

The easiest fix: reboot. If you reboot your systems on a regular basis, i.e. once a month due to patching, this problem should occur quite rarely.

Another approach is to increase the WMI timeout in the Checkmk yml-configuration file, which is available since v1.6 (former: ini-file)


Solution

Please follow this guidance to increase the timeout.

Panel
bgColor#fff
  1. Got to the agent directory C:\ProgramData\checkmk\agent
  2. Open the check_mk.user.yml file and search for the wmi_timeout section. Remove the '#' and select the value

    Code Block
    global:
      ...
      wmi_timeout: 7 # <- 7 sec, default ist 3
      ...



Note

You can modify this file even you're using the Agent Bakery!

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


Page Properties
hiddentrue


Related issues