vSphere warn on services ps and systemd_units_service - these do not exist on ESXi

CMK version: 2.3.0p37
OS version: Red Hat Enterprise Linux release 8.10 (Ootpa)

Error message:

[special_vsphere] Success, [piggyback] Successfully processed from source ‘xxxxxxxxxxxxx’, Missing monitoring data for plugins, psWARN, systemd_units_servicesWARN, execution time 0.4 sec

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

value store: synchronizingTrying to acquire lock on /omd/sites/cmk/tmp/check_mk/counters/cmk-primaryGot lock on /omd/sites/cmk/tmp/check_mk/counters/cmk-primaryvalue store: loading from diskReleasing lock on /omd/sites/cmk/tmp/check_mk/counters/cmk-primaryReleased lock on /omd/sites/cmk/tmp/check_mk/counters/cmk-primaryCheckmk version 2.3.0p37Updating IPv4 DNS cache for cmk-primary: 10.x.x.xTrying to acquire lock on /omd/sites/cmk/var/check_mk/ipaddresses.cacheGot lock on /omd/sites/cmk/var/check_mk/ipaddresses.cacheReleasing lock on /omd/sites/cmk/var/check_mk/ipaddresses.cacheReleased lock on /omd/sites/cmk/var/check_mk/ipaddresses.cache
FETCHING DATASource: SourceInfo(hostname=‘cmk-primary’, ipaddress=‘10.x.x.x’, ident=‘piggyback’, fetcher_type=<FetcherType.PIGGYBACK: 4>, source_type=<SourceType.HOST: 1>)[cpu_tracking] Start [7f70aea6ffe0]Read from cache: NoCache(cmk-primary, 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 ‘cmk-primary’. Skip processing.No piggyback files for ‘10.x.x.x’. Skip processing.Get piggybacked data[cpu_tracking] Stop [7f70aea6ffe0 - 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 [7f70ae482240]
PARSE FETCHER RESULTSHostKey(hostname=‘cmk-primary’, source_type=<SourceType.HOST: 1>) → Add sections: Received no piggyback dataNo piggyback files for ‘cmk-primary’. Skip processing.No piggyback files for ‘10.x.x.x’. Skip processing.[cpu_tracking] Stop [7f70ae482240 - Snapshot(process=posix.times_result(user=0.05999999999999983, system=0.019999999999999962, children_user=0.0, children_system=0.0, elapsed=0.08999999985098839))][piggyback] Success (but no data found for this host), execution time 0.1 sec | execution_time=0.090 user_time=0.060 system_time=0.020 children_user_time=0.000 children_system_time=0.000 cmk_time_agent=0.000(If it is a problem with checks or plugins)

Looks like an enforced service is configured for this host and as the host has no agent the data does not exists.

You need to look in the section for enforced services inside setup to find the problematic rule.

3 Likes

Thanks - I had to do some digging but I finally found the culprit rule and excluded the ESXi hosts from the rules.

I appreciate the help