ModuleNotFoundError: No module named 'cmk.special_agents.utils.agent_common'

CMK version: 2.3.0p41
OS version: Debian 12

Error message: ModuleNotFoundError: No module named ‘cmk.special_agents.utils.agent_common’

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

cmk --debug -vvn 127.0.0.1
Ignoring outdated plugin ‘gitlab_runner’: Format no longer supported – this API is deprecated!
Ignoring outdated plugin ‘modbus_value’: Format no longer supported – this API is deprecated!
value store: synchronizing
Trying to acquire lock on /omd/sites/gf1/tmp/check_mk/counters/127.0.0.1
Got lock on /omd/sites/gf1/tmp/check_mk/counters/127.0.0.1
value store: loading from disk
Releasing lock on /omd/sites/gf1/tmp/check_mk/counters/127.0.0.1
Released lock on /omd/sites/gf1/tmp/check_mk/counters/127.0.0.1
Checkmk version 2.3.0p41

  • FETCHING DATA
    Source: SourceInfo(hostname=‘127.0.0.1’, ipaddress=‘127.0.0.1’, ident=‘special_ilo’, fetcher_type=<FetcherType.SPECIAL_AGENT: 6>, source_type=<SourceType.HOST: 1>)
    [cpu_tracking] Start [7f3755df7230]
    Read from cache: AgentFileCache(127.0.0.1, path_template=/omd/sites/gf1/tmp/check_mk/data_source_cache/special_ilo/{hostname}, max_age=MaxAge(checking=0, discovery=225.0, inventory=225.0), simulation=False, use_only_cache=False, file_cache_mode=6)
    Not using cache (does not exist)
    Calling: /omd/sites/gf1/local/share/check_mk/agents/special/agent_ilo --server 127.0.0.1 --user test --password test
    Get data from program
    [cpu_tracking] Stop [7f3755df7230 - Snapshot(process=posix.times_result(user=0.0, system=0.0, children_user=0.04, children_system=0.0, elapsed=0.05000000074505806))]
    Source: SourceInfo(hostname=‘127.0.0.1’, ipaddress=‘127.0.0.1’, ident=‘piggyback’, fetcher_type=<FetcherType.PIGGYBACK: 4>, source_type=<SourceType.HOST: 1>)
    [cpu_tracking] Start [7f3755f31c10]
    Read from cache: NoCache(127.0.0.1, path_template=/dev/null, max_age=MaxAge(checking=0.0, discovery=0.0, inventory=0.0), simulation=False, use_only_cache=False, file_cache_mode=1)
    No piggyback files for ‘127.0.0.1’. Skip processing.
    No piggyback files for ‘127.0.0.1’. Skip processing.
    Get piggybacked data
    [cpu_tracking] Stop [7f3755f31c10 - Snapshot(process=posix.times_result(user=0.0, system=0.0, children_user=0.0, children_system=0.0, elapsed=0.0))]
    [cpu_tracking] Start [7f375791bd70]
  • PARSE FETCHER RESULTS
    HostKey(hostname=‘127.0.0.1’, source_type=<SourceType.HOST: 1>) → Add sections:
    Received no piggyback data
    No piggyback files for ‘127.0.0.1’. Skip processing.
    No piggyback files for ‘127.0.0.1’. Skip processing.
    [cpu_tracking] Stop [7f375791bd70 - Snapshot(process=posix.times_result(user=0.0, system=0.0, children_user=0.0, children_system=0.0, elapsed=0.0))]
    [special_ilo] ModuleNotFoundError: No module named ‘cmk.special_agents.utils.agent_common’(!!), [piggyback] Success (but no data found for this host), execution time 0.1 sec | execution_time=0.050 user_time=0.000 system_time=0.000 children_user_time=0.040 children_system_time=0.000 cmk_time_ds=0.010 cmk_time_agent=0.000
    Agent exited with code 1: Traceback (most recent call last):
    File “/omd/sites/gf1/local/share/check_mk/agents/special/agent_ilo”, line 27, in
    from cmk.special_agents.utils.agent_common import (
    ModuleNotFoundError: No module named ‘cmk.special_agents.utils.agent_common’(!!)

I just upgraded to last 2.3, hpe_ilo 4.0.2 and nutanix_prism 5.0.7
I have this message when I try to use 2 plugins above. I guess I would have the problem with any special agent coming through plugins.

This is the problem - “hpe_ilo” mkp is not 2.3 compatible 2.2 was the latest supported version.
Please use the redfish mkp for 2.3. The same is for the nutanix mkp. Here the functionality from the mkp was included into CMK 2.3

No - if the mkp and special agent is compatible with your used CMK version then there will be no error.