CMK version: 2.1.0
**OS version:ubuntu for worker nodes
Error message:
nigoyal7@master:~/checkmk_kube_agent/deploy/kubernetes$ kubectl get pods -n checkmk-monitoring
NAME READY STATUS RESTARTS AGE
cluster-collector-58888c97bb-bdx87 1/1 Running 0 5m19s
node-collector-container-metrics-tcbwh 2/2 Running 0 5m19s
node-collector-container-metrics-xnfg7 2/2 Running 0 5m19s
node-collector-machine-sections-d4g98 0/1 CrashLoopBackOff 5 (57s ago) 5m19s
node-collector-machine-sections-k9v4x 0/1 CrashLoopBackOff 5 (77s ago) 5m19s
nigoyal7@master:~/checkmk_kube_agent/deploy/kubernetes$ kubectl logs node-collector-machine-sections-d4g98 -n checkmk-monitoring
Traceback (most recent call last):
File "/usr/local/bin/checkmk-machine-sections-collector", line 8, in <module>
sys.exit(main_machine_sections())
File "/usr/local/lib/python3.10/site-packages/checkmk_kube_agent/send_metrics.py", line 471, in _main
worker(session, cluster_collector_base_url, headers, verify)
File "/usr/local/lib/python3.10/site-packages/checkmk_kube_agent/send_metrics.py", line 376, in machine_sections_worker
returncode = process.wait(5)
File "/usr/local/lib/python3.10/subprocess.py", line 1204, in wait
return self._wait(timeout=timeout)
File "/usr/local/lib/python3.10/subprocess.py", line 1930, in _wait
raise TimeoutExpired(self.args, timeout)
subprocess.TimeoutExpired: Command '['/usr/local/bin/check_mk_agent']' timed out after 5 seconds
Output of “cmk --debug -vvn hostname”: (If it is a problem with checks or plugins)