Hello everybody. I recently started managing a Check_MK server. The problem is that I have not configured it and have no previous experience with it, so sorry in advance.
The problem is that my agent on a server keeps failing after a short while. -> “Service Check Timed Out”
When I restart the service on the server, it usually works for a short time. Agent has also been reinstalled.
I saw in the agent output file that a WMI query times out. WMI service on the server is enabled.
Perf-O-Meter currently says that the query time is ~ 30sec
That’s very long for a normal Windows machine.
The reason can be very different from machine to machine. Are there any plugins running inside the agent? What agent version do you use? Is there any modification inside the ini/yml config file?
On a healthy Windows server the agent without plugins should have a runtime not longer than 1-3 seconds. Shorter is better
That has nothing to do with windows or the check timeout.
The problem is that this Windows agent has no real configuration. --> no good check_mk.ini file
All the plugins should be configured as async execution and for some like windows_updates.vbs you need to configure cache time and maximum execution time.
With a good agent configuration this host will also respond with a time of 1.5-2 seconds maximum.
Hi @andreas-doehler,
i stand corrected. You’re right - as you have already updates the documentation on https://checkmk.de/cms_agent_windows.html, is there any way for @zigbee to lookup the old examples for the agent configuration? In case he/she can’t use the new agent?
For the old configuration the examples are inside the “check_mk.example.ini” file.
You can find the example ini inside your WATO agent files or inside the github after selecting the old branch for 1.5.