How to set WMI Timeout for Windows Agent?

CMK version: 2.2.0p24
OS version: Ubuntu 22.04

I regularly get Warnings for a windows Host:

[agent] Success, ... Missing monitoring data for plugins: 
        wmi_cpuload**WARN**, execution time 5.6 sec

I learned that WMI often produces timeouts and thatswhy different werks had been provided, to be improve the situation …

Especially the last states that there is now a wato configuration option, that enables a user to set the wmi timeout manually onwards from Version 2.1.0b1. I searched for such a configuration option, but I did not find it. I kindly ask for help to figure out how to set this option.

Hi,

in the Agent rules of the Bakery there is the ruleset “Windows WMI Timout”.
Manually you can do it like this:

https://checkmk.atlassian.net/wiki/spaces/KB/pages/9470631/How-to+increase+WMI+timeout

1 Like

Thanks Andre!

So the setting is in the Agent itself not at the Check_MK server (Bakery is Enterprise only. This question was about the raw edition). Quite reasonable. :man_facepalming:

So I’ll have to change the agent settings.

yes, the WMI calls are being executed by the checkmk agent, there are no wmi connections from the checkmk server to the monitored clients.
You have to change the wmi settings in the checkmk agent configuration, in the raw edition it is the manual way I referred to.

There are a few other kb articles regarding wmi for further troubleshooting :

https://checkmk.atlassian.net/wiki/spaces/KB/pages/9472924/Troubleshoot+Windows+System+and+Performance+Counters