Service check timeout

CMK version: Version: 2.2.0p17
OS version: 22.04.4 LTS (Jammy Jellyfish)

Error message: Service checktimeout

Output of “cmk --debug -vvn hostname”: (If it is a problem with checks or plugins)

[agent] Success, [piggyback] Success (but no data found for this host), execution time 6.3 sec | execution_time=6.280 user_time=0.050 system_time=0.000 children_user_time=0.000 children_system_time=0.000 cmk_time_agent=6.230

real 0m8.464s
user 0m1.951s
sys 0m0.258s

Hello Community,

Iam monitoring around 20 hosts in checkmk all are running in ubuntu by using checkmk agent, I see Regularly like every 10 minutes, many hosts are shown as service check time out these is triggering lot of alerts, but I see checkmk up in all hosts, even I checked from network perspective there is no latency issue.

Please can anyone help me out to see what can be done in any configuration to solve the issue iam attaching the output of cmk --debug -vvn hostname one of the host .

Regards,
Aru

Hello Aru,

please tell us which Edition of CheckMK you are using.

The first thing you can do, is to run the agent on the machine itself and measure the time spent. You can do so by typing time check_mk_agent. My first (wild) guess is that you are using a local check or plugin that times out. This could be e.g. the mk_apt plugin, when you let it run every minute instead of once or twice per day.

Hello Simon,

Thanks for the reply, Iam using the checkmk raw edition and your are right I have installed mk_apt , mk_sshd_config and mk_ceph in plugins for all nodes, please let me know where the configuration can be changed to run once or twice per day but not every min.

here is the output of time check_mk_agent in one of the host

real 0m6.224s
user 0m3.644s
sys 0m1.172s

thanks,

regards,
Aru

The documentation can be found here: Monitoring Linux - The new agent for Linux in detail (checkmk.com)

Thanks Samuel,

As of now I created Asynchronous execution and set for 1 day (86400), will observe and see any changes.

Regards,

Aru

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed. Contact an admin if you think this should be re-opened.