2.1.0p26 and p27 ipmitool not found

CMK Version 2.1.0p26 and p27
OS version: Proxmox VE 7.4-3

Error message: [agent] Success, [special_ipmi_sensors] Agent exited with code 1: ERROR: Could not find ‘ipmitool’ command (PATH: /usr/local/sbin:/usr/sbin:/sbin:/omd/sites/mysite/lib/perl5/bin:/omd/sites/mysite/local/bin:/omd/sites/mysite/bin:/omd/sites/mysite/local/lib/perl5/bin:/omd/sites/mysite/local/bin:/omd/sites/mysite/bin:/usr/local/bin:/bin:/usr/bin:/sbin:/usr/sbin), Could not find ‘ipmitool’ command (PATH: /usr/local/sbin:/usr/sbin:/sbin:/omd/sites/mysite/lib/perl5/bin:/omd/sites/mysite/local/bin:/omd/sites/mysite/bin:/omd/sites/mysite/local/lib/perl5/bin:/omd/sites/mysite/local/bin:/omd/sites/mysite/bin:/usr/local/bin:/bin:/usr/bin:/sbin:/usr/sbin)CRIT, [special_proxmox_ve] Success, execution time 8.7 sec

Output of “cmk --debug -vvn hostname”:

Checkmk version 2.1.0p27
Try license usage history update.
Trying to acquire lock on /omd/sites/mysite/var/check_mk/license_usage/next_run
Got lock on /omd/sites/mysite/var/check_mk/license_usage/next_run
Trying to acquire lock on /omd/sites/mysite/var/check_mk/license_usage/history.json
Got lock on /omd/sites/mysite/var/check_mk/license_usage/history.json
Next run time has not been reached yet. Abort.
Releasing lock on /omd/sites/mysite/var/check_mk/license_usage/history.json
Released lock on /omd/sites/mysite/var/check_mk/license_usage/history.json
Releasing lock on /omd/sites/mysite/var/check_mk/license_usage/next_run
Released lock on /omd/sites/mysite/var/check_mk/license_usage/next_run
Updating IPv4 DNS cache for pve-4: 192.168.147.194
Trying to acquire lock on /omd/sites/mysite/var/check_mk/ipaddresses.cache
Got lock on /omd/sites/mysite/var/check_mk/ipaddresses.cache
Releasing lock on /omd/sites/mysite/var/check_mk/ipaddresses.cache
Released lock on /omd/sites/mysite/var/check_mk/ipaddresses.cache
+ FETCHING DATA
  Source: SourceType.HOST/FetcherType.PIGGYBACK
[cpu_tracking] Start [7f14ca3feee0]
[PiggybackFetcher] Fetch with cache settings: NoCache(pve-4, base_path=/omd/sites/mysite/tmp/check_mk/data_source_cache/piggyback, max_age=MaxAge(checking=0, discovery=120, inventory=120), disabled=True, use_outdated=False, simulation=False)
Not using cache (Cache usage disabled)
[PiggybackFetcher] Execute data source
Piggyback file '/omd/sites/mysite/tmp/check_mk/piggyback/pve-4/pve-1.schultz-kw.de': Successfully processed from source 'pve-1.schultz-kw.de'
No piggyback files for '192.168.147.194'. Skip processing.
Not using cache (Cache usage disabled)
[cpu_tracking] Stop [7f14ca3feee0 - Snapshot(process=posix.times_result(user=0.0, system=0.0, children_user=0.0, children_system=0.0, elapsed=0.010000001639127731))]
+ PARSE FETCHER RESULTS
  Source: SourceType.HOST/FetcherType.PIGGYBACK
<<<proxmox_ve_node_info:cached(1683464466,90):sep(0)>>> / Transition NOOPParser -> HostSectionParser
<<<proxmox_ve_mem_usage:cached(1683464466,90):sep(0)>>> / Transition HostSectionParser -> HostSectionParser
<<<uptime:cached(1683464466,90)>>> / Transition HostSectionParser -> HostSectionParser
<<<labels:sep(0)>>> / Transition HostSectionParser -> HostSectionParser
No persisted sections
  -> Add sections: ['labels', 'proxmox_ve_mem_usage', 'proxmox_ve_node_info', 'uptime']
Received no piggyback data
[cpu_tracking] Start [7f14ca3fe130]
value store: synchronizing
Trying to acquire lock on /omd/sites/mysite/tmp/check_mk/counters/pve-4
Got lock on /omd/sites/mysite/tmp/check_mk/counters/pve-4
value store: loading from disk
Releasing lock on /omd/sites/mysite/tmp/check_mk/counters/pve-4
Released lock on /omd/sites/mysite/tmp/check_mk/counters/pve-4
Piggyback file '/omd/sites/mysite/tmp/check_mk/piggyback/pve-4/pve-1.schultz-kw.de': Successfully processed from source 'pve-1.schultz-kw.de'
No piggyback files for '192.168.147.194'. Skip processing.
[cpu_tracking] Stop [7f14ca3fe130 - Snapshot(process=posix.times_result(user=0.029999999999999805, system=0.0, children_user=0.0, children_system=0.0, elapsed=0.030000001192092896))]
[piggyback] Successfully processed from source 'pve-1.schultz-kw.de', execution time 0.0 sec | execution_time=0.040 user_time=0.030 system_time=0.000 children_user_time=0.000 children_system_time=0.000 cmk_time_agent=0.010

But ipmitool exists and up to p25 it was fine:

root@pve-4:~# which ipmitool
/usr/bin/ipmitool
root@pve-4:~# ls -l /usr/bin/ipmitool
-rwxr-xr-x 1 root root 961560 19. Feb 2021 /usr/bin/ipmitool

[IPMI-Sensoren über Freeipmi oder IPMItool]

Problem still exists in newer versions of 2.1 and 2.2. So im stucked to v2.1.0p25. This is the last version, that works.

If someone needs some informations to help me, I am gladly willing to help.

I would guess it’s a problem in combination with the piggyback setup.

We use 2.1.0p29 and ipmitool is working:

  • I tested it a few minutes ago to ensure we didn’t silently run into this too
  • Debian 11/bullseye host with no prior installation of ‘ipmi’; the correct services showed up immediately.

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.