Check_mk agent timed out on terminalserver

CMK version: Checkmk Enterprise Edition 2.2.0p23
OS version: SLES 15 SP5

The execution of the check_mk agent on a heavily frequented Windows terminal server (no citrix) with approx. 17 users (regardless of the Windows server version), timed out after 60 sec. The CPU is utilized with approx. 30% and the RAM with approx. 40%. Is there a way to optimize the runtime behavior of the agent?

Hi Heno,

in the checkmk agent directory below c:\programdata\checkmk\agent\log\ you will find the agent log.
Every executed check / plugin and its runtimes are logged there.
If you know, which plugins causes the timeout, we can dig deeper into the underlying problem.

1 Like

Hi Andre, the following part of the log file shows the problem

2024-04-24 13:34:47.677 [srv 42056] perf: Section ‘ps’ took [68757] milliseconds
2024-04-24 13:34:47.689 [srv 42056] Received [49135] bytes from ‘ps’
2024-04-24 13:34:47.689 [srv 42056] perf: Answer is ready in [68775] milliseconds