CMK version: 2.4.0p12
OS version: Rocky Linux 9.6
Error message:
Manually migrating an ESXi Host from version 2.0.0p39 to the latest version 2.4.0p12 it looks that most of the plugins do not handle the information from the ESXi and do not create the graphs, while on version 2.0.0p39 everything is OK.
Problem with the plugins:
esx_vsphere_hostsystem_cpu_usage
esx_vsphere_counters
esx_vsphere_counters_diskio
esx_vsphere_sensors
esx_vsphere_counters_if
esx_vsphere_hostsystem_maintenance
esx_vsphere_hostsystem_mem_usage
esx_vsphere_hostsystem_multipath
esx_vsphere_hostsystem_state
esx_vsphere_counters_uptime
esx_vsphere_counters_swap
Working plugins:
esx_vsphere_objects
esx_vsphere_objects_count
esx_vsphere_datastores
systemtime
Using a plugin through command line on version 2.0.0p39:
$ cmk --detect-plugins=esx_vsphere_counters_if -v
Checkmk version 2.0.0p39
- FETCHING DATA
[ProgramFetcher] Execute data source
[PiggybackFetcher] Execute data source
No piggyback files for ‘Host’. Skip processing.
No piggyback files for ‘Host IP’. Skip processing. - PARSE FETCHER RESULTS
Received no piggyback data
Interface 1 [vmnic0], (up), MAC: 18:66:DA:71:C4:55, Speed: 1 GBit/s, In: 0 Bit/s (0%), Out: 0 Bit/s (0%)
Interface 2 [vmnic1], (up), MAC: 18:66:DA:71:C4:56, Speed: 1 GBit/s, In: 0 Bit/s (0%), Out: 0 Bit/s (0%)
Interface 5 [vmnic4], (up), MAC: B4:96:91:07:AA:B4, Speed: 10 GBit/s, In: 29 MBit/s (0.29%), Out: 74.2 MBit/s (0.74%)
Interface 6 [vmnic5], (up), MAC: B4:96:91:07:AA:B6, Speed: 10 GBit/s, In: 0 Bit/s (0%), Out: 0 Bit/s (0%)
[special_vsphere] Version: unknown, OS: unknown, execution time 0.7 sec | execution_time=0.700 user_time=0.010 system_time=0.010 children_user_time=0.340 children_system_time=0.040 cmk_time_ds=0.300 cmk_time_agent=0.000
Using the same plugin through command line on version 2.4.0p12:
$ cmk --detect-plugins=esx_vsphere_counters_if -v
- FETCHING DATA
Get data from program
Get piggybacked data
[special_vsphere] Success, [piggyback] Success (but no data found for this host), execution time 0.7 sec | execution_time=0.710 user_time=0.020 system_time=0.000 children_user_time=0.430 children_system_time=0.050 cmk_time_ds=0.220 cmk_time_agent=0.000
Output of “cmk --debug -vvn hostname”: (If it is a problem with checks or plugins)
$ cmk --debug -vvn Host
value store: loading from disk
Checkmk version 2.4.0p12
- FETCHING DATA
Source: SourceInfo(hostname=‘Host’, ipaddress=‘Host-IP’, ident=‘special_vsphere’, fetcher_type=<FetcherType.SPECIAL_AGENT: 6>, source_type=<SourceType.HOST: 1>)
[cpu_tracking] Start [7f6de946e690]
Read from cache: AgentFileCache(path_template=/omd/sites/sitename/tmp/check_mk/data_source_cache/special_vsphere/Host, max_age=MaxAge(checking=0, discovery=90.0, inventory=90.0), simulation=False, use_only_cache=False, file_cache_mode=6)
Not using cache (Too old. Age is 20 sec, allowed is 0 sec)
Calling: /omd/sites/sitename/share/check_mk/agents/special/agent_vsphere --pwstore=3@3@/omd/sites/sitename/var/check_mk/passwords_merged@uuiddbf39110-1d9a-4bca-997e-9a29f4edf04d -u username ‘-s=************’ -i hostsystem,virtualmachine,datastore,counters,licenses -P --spaces underscore --vm_pwr_display host --host_pwr_display host --no-cert-check Host-IP
Get data from program
Write data to cache file /omd/sites/sitename/tmp/check_mk/data_source_cache/special_vsphere/Host
Trying to acquire lock on /omd/sites/sitename/tmp/check_mk/data_source_cache/special_vsphere/Host
Got lock on /omd/sites/sitename/tmp/check_mk/data_source_cache/special_vsphere/Host
Releasing lock on /omd/sites/sitename/tmp/check_mk/data_source_cache/special_vsphere/Host
Released lock on /omd/sites/sitename/tmp/check_mk/data_source_cache/special_vsphere/Host
[cpu_tracking] Stop [7f6de946e690 - Snapshot(process=posix.times_result(user=0.009999999999999787, system=0.0, children_user=0.52, children_system=0.08, elapsed=0.8200000002980232))]
Source: SourceInfo(hostname=‘Host’, ipaddress=‘Host-IP’, ident=‘piggyback’, fetcher_type=<FetcherType.PIGGYBACK: 4>, source_type=<SourceType.HOST: 1>)
[cpu_tracking] Start [7f6de9a4cef0]
Read from cache: NoCache(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)
0 piggyback files for ‘Host’.
0 piggyback files for ‘Host-IP’.
Get piggybacked data
[cpu_tracking] Stop [7f6de9a4cef0 - 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 [7f6de989d3d0] - PARSE FETCHER RESULTS
<<<esx_systeminfo>>> / Transition NOOPParser → HostSectionParser
<<<esx_vsphere_licenses:sep(9)>>> / Transition HostSectionParser → HostSectionParser
<<<esx_vsphere_datastores:sep(9)>>> / Transition HostSectionParser → HostSectionParser
PiggybackMarker(hostname=‘hostname’) / Transition HostSectionParser → PiggybackParser
PiggybackMarker(hostname=‘hostname’) SectionMarker(name=SectionName(‘esx_vsphere_counters’), cached=None, encoding=‘utf-8’, nostrip=False, persist=None, separator=‘|’) / Transition PiggybackParser → PiggybackSectionParser
Transition PiggybackSectionParser → NOOPParser
PiggybackMarker(hostname=‘hostname’) / Transition NOOPParser → PiggybackParser
PiggybackMarker(hostname=‘hostname’) SectionMarker(name=SectionName(‘esx_vsphere_hostsystem’), cached=None, encoding=‘utf-8’, nostrip=False, persist=None, separator=None) / Transition PiggybackParser → PiggybackSectionParser
PiggybackMarker(hostname=‘hostname’) SectionMarker(name=SectionName(‘esx_vsphere_sensors’), cached=None, encoding=‘utf-8’, nostrip=False, persist=None, separator=‘;’) / Transition PiggybackSectionParser → PiggybackSectionParser
Transition PiggybackSectionParser → NOOPParser
PiggybackMarker(hostname=‘VM-1’) / Transition NOOPParser → PiggybackParser
PiggybackMarker(hostname=‘VM-1’) SectionMarker(name=SectionName(‘esx_vsphere_vm’), cached=None, encoding=‘utf-8’, nostrip=False, persist=None, separator=None) / Transition PiggybackParser → PiggybackSectionParser
PiggybackMarker(hostname=‘VM-2’) / Transition PiggybackSectionParser → PiggybackParser
PiggybackMarker(hostname=‘VM-2’) SectionMarker(name=SectionName(‘esx_vsphere_vm’), cached=None, encoding=‘utf-8’, nostrip=False, persist=None, separator=None) / Transition PiggybackParser → PiggybackSectionParser
PiggybackMarker(hostname=‘VM-3’) / Transition PiggybackSectionParser → PiggybackParser
PiggybackMarker(hostname=‘VM-3’) SectionMarker(name=SectionName(‘esx_vsphere_vm’), cached=None, encoding=‘utf-8’, nostrip=False, persist=None, separator=None) / Transition PiggybackParser → PiggybackSectionParser
Transition PiggybackSectionParser → NOOPParser
<<<esx_vsphere_virtual_machines:sep(0)>>> / Transition NOOPParser → HostSectionParser
<<<esx_vsphere_snapshots_summary:sep(0)>>> / Transition HostSectionParser → HostSectionParser
<<<esx_vsphere_clusters:sep(9)>>> / Transition HostSectionParser → HostSectionParser
Transition HostSectionParser → NOOPParser
<<<esx_vsphere_objects:sep(9)>>> / Transition NOOPParser → HostSectionParser
Transition HostSectionParser → NOOPParser
<<<esx_vsphere_objects:sep(9)>>> / Transition NOOPParser → HostSectionParser
Transition HostSectionParser → NOOPParser
<<>> / Transition NOOPParser → HostSectionParser
HostKey(hostname=‘Host’, source_type=<SourceType.HOST: 1>) → Add sections: [‘esx_systeminfo’, ‘esx_vsphere_clusters’, ‘esx_vsphere_datastores’, ‘esx_vsphere_licenses’, ‘esx_vsphere_objects’, ‘esx_vsphere_snapshots_summary’, ‘esx_vsphere_virtual_machines’, ‘systemtime’]
HostKey(hostname=‘Host’, source_type=<SourceType.HOST: 1>) → Add sections:
Received piggyback data for 15 hosts
Storing piggyback data for: ‘hostname’
Storing piggyback data for: ‘VM-1’
Storing piggyback data for: ‘VM-2’
Storing piggyback data for: ‘VM-3’
ESX Snapshots Summary Count: 0
Filesystem Filesystem-1 Used: 0.02% - 1.93 GiB of 10.9 TiB, trend: 0 B / 24 hours, Uncommitted: 0 B, Provisioning: 0.02%
Filesystem Filesystem-2 Used: 1.98% - 3.52 GiB of 178 GiB, trend: 0 B / 24 hours, Uncommitted: 0 B, Provisioning: 1.98%
Filesystem Filesystem-3 Used: 56.07% - 2.44 TiB of 4.36 TiB, trend: 0 B / 24 hours, Uncommitted: 588 GiB, Provisioning: 69.23%
Filesystem Filesystem-4 Used: 74.33% - 4.32 TiB of 5.81 TiB, trend: 0 B / 24 hours, Uncommitted: 684 GiB, Provisioning: 85.82%
Filesystem Filesystem-5 Used: 67.96% - 6.82 TiB of 10.0 TiB, trend: 0 B / 24 hours, Uncommitted: 0 B, Provisioning: 67.96%
HostSystem hostname power state: poweredOn
Object count Templates: 0, Virtualmachines: 3, Hostsystems: 1
System Time Offset: -198 milliseconds
VM VM-1 power state: poweredOn, running on [hostname]
VM VM-2 power state: poweredOn, running on [hostname]
VM VM-3 power state: poweredOn, running on [hostname]
0 piggyback files for ‘Host’.
[cpu_tracking] Stop [7f6de989d3d0 - Snapshot(process=posix.times_result(user=0.020000000000000018, system=0.0, children_user=0.0, children_system=0.0, elapsed=0.019999999552965164))]
[special_vsphere] Success, [piggyback] Success (but no data found for this host), execution time 0.8 sec | execution_time=0.840 user_time=0.030 system_time=0.000 children_user_time=0.520 children_system_time=0.080 cmk_time_ds=0.210 cmk_time_agent=0.000