CMK version: 2.3
OS version: RHEL9
Error message:
Output of “cmk --debug -vvn hostname”: (If it is a problem with checks or plugins)
Trying to acquire lock on /omd/sites/msd_checkmk/var/check_mk/crashes/base/1d6ea052-cd71-11f0-9383-00505690b33d/crash.info
Got lock on /omd/sites/checkmk/var/check_mk/crashes/base/1d6ea052-cd71-11f0-9383-00505690b33d/crash.info
Releasing lock on /omd/sites/checkmk/var/check_mk/crashes/base/1d6ea052-cd71-11f0-9383-00505690b33d/crash.info
Released lock on /omd/sites/checkmk/var/check_mk/crashes/base/1d6ea052-cd71-11f0-9383-00505690b33d/crash.info
Traceback (most recent call last):
File “/omd/sites/checkmk/bin/cmk”, line 101, in
errors = config.load_all_plugins(
^^^^^^^^^^^^^^^^^^^^^^^^
File “/omd/sites/checkmk/lib/python3/cmk/base/config.py”, line 1425, in load_all_plugins
errors.extend(load_checks(get_check_api_context, filelist))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/omd/sites/checkmk/lib/python3/cmk/base/config.py”, line 1474, in load_checks
did_compile |= load_precompiled_plugin(f, check_context)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/omd/sites/checkmk/lib/python3/cmk/base/config.py”, line 1584, in load_precompiled_plugin
exec(
File “/omd/sites/checkmk/share/check_mk/checks/k8s_component_statuses”, line 11, in
from cmk.base.check_legacy_includes.k8s import * # pylint: disable=wildcard-import,unused-wildcard-import
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ModuleNotFoundError: No module named ‘cmk.base.check_legacy_includes.k8s’
I am trying to build a K8s monitoring system on the Checkmk. However, after I configured the special agent by following the document, the Cluster collector is showing
Cluster collector version: 1.7.0, Nodes with container collectors: 2/2, Nodes with machine collectors: 2/2, Container Metrics: Connection ErrorCRIT, Machine Metrics: Connection ErrorCRIT |
|---|
I have both the API server and Collector NodePort / Ingress endpoint configured. And curl is also returning the node info.
So I have no idea what is missing. And I also don’t know how to config container monitoring since I’m using the RAW version, it doesn’t have the K8s dashboard either.