CMK version:
CRE 2.1.0p9
OS version:
Ubuntu 18.04.6 LTS
Error message:
[agent] Success, Missing monitoring data for plugins: aptWARN, execution time 0.8 sec
Output of “cmk --debug -vvn serverxyz.domain.de”:
Checkmk version 2.1.0p9
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
+ FETCHING DATA
Source: SourceType.HOST/FetcherType.TCP
[cpu_tracking] Start [7fbbcfdf4a30]
[TCPFetcher] Fetch with cache settings: DefaultAgentFileCache(serverxyz.domain.de, base_path=/omd/sites/mysite/tmp/check_mk/cache, max_age=MaxAge(checking=0, discovery=120, inventory=120), disabled=False, use_outdated=False, simulation=False)
Not using cache (Too old. Age is 25 sec, allowed is 0 sec)
[TCPFetcher] Execute data source
Connecting via TCP to IP:6556 (5.0s timeout)
Detected transport protocol: TransportProtocol.TLS (b'16')
Reading data from agent via TLS socket
Reading data from agent
Detected transport protocol: TransportProtocol.PLAIN (b'<<')
Write data to cache file /omd/sites/mysite/tmp/check_mk/cache/serverxyz.domain.de
Trying to acquire lock on /omd/sites/mysite/tmp/check_mk/cache/serverxyz.domain.de
Got lock on /omd/sites/mysite/tmp/check_mk/cache/serverxyz.domain.de
Releasing lock on /omd/sites/mysite/tmp/check_mk/cache/serverxyz.domain.de
Released lock on /omd/sites/mysite/tmp/check_mk/cache/serverxyz.domain.de
Closing TCP connection to IP:6556
[cpu_tracking] Stop [7fbbcfdf4a30 - Snapshot(process=posix.times_result(user=0.010000000000000009, system=0.0, children_user=0.0, children_system=0.0, elapsed=0.75))]
Source: SourceType.HOST/FetcherType.PIGGYBACK
[cpu_tracking] Start [7fbbcfdf4790]
[PiggybackFetcher] Fetch with cache settings: NoCache(serverxyz.domain.de, 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
No piggyback files for 'serverxyz.domain.de'. Skip processing.
No piggyback files for 'IP'. Skip processing.
Not using cache (Cache usage disabled)
[cpu_tracking] Stop [7fbbcfdf4790 - Snapshot(process=posix.times_result(user=0.0, system=0.0, children_user=0.0, children_system=0.0, elapsed=0.0))]
+ PARSE FETCHER RESULTS
Source: SourceType.HOST/FetcherType.TCP
<<<check_mk>>> / Transition NOOPParser -> HostSectionParser
<<<cmk_agent_ctl_status:sep(0)>>> / Transition HostSectionParser -> HostSectionParser
<<<checkmk_agent_plugins_lnx:sep(0)>>> / Transition HostSectionParser -> HostSectionParser
<<<labels:sep(0)>>> / Transition HostSectionParser -> HostSectionParser
<<<df>>> / Transition HostSectionParser -> HostSectionParser
<<<df>>> / Transition HostSectionParser -> HostSectionParser
<<<systemd_units>>> / Transition HostSectionParser -> HostSectionParser
<<<nfsmounts>>> / Transition HostSectionParser -> HostSectionParser
<<<cifsmounts>>> / Transition HostSectionParser -> HostSectionParser
<<<mounts>>> / Transition HostSectionParser -> HostSectionParser
<<<ps_lnx>>> / Transition HostSectionParser -> HostSectionParser
<<<mem>>> / Transition HostSectionParser -> HostSectionParser
<<<cpu>>> / Transition HostSectionParser -> HostSectionParser
<<<uptime>>> / Transition HostSectionParser -> HostSectionParser
<<<lnx_if>>> / Transition HostSectionParser -> HostSectionParser
<<<lnx_if:sep(58)>>> / Transition HostSectionParser -> HostSectionParser
<<<tcp_conn_stats>>> / Transition HostSectionParser -> HostSectionParser
<<<diskstat>>> / Transition HostSectionParser -> HostSectionParser
<<<kernel>>> / Transition HostSectionParser -> HostSectionParser
<<<md>>> / Transition HostSectionParser -> HostSectionParser
<<<vbox_guest>>> / Transition HostSectionParser -> HostSectionParser
<<<job>>> / Transition HostSectionParser -> HostSectionParser
<<<local:sep(0)>>> / Transition HostSectionParser -> HostSectionParser
<<<apt:cached(1672730682,3600):sep(0)>>> / Transition HostSectionParser -> HostSectionParser
No persisted sections
-> Add sections: ['apt', 'check_mk', 'checkmk_agent_plugins_lnx', 'cifsmounts', 'cmk_agent_ctl_status', 'cpu', 'df', 'diskstat', 'job', 'kernel', 'labels', 'lnx_if', 'local', 'md', 'mem', 'mounts', 'nfsmounts', 'ps_lnx', 'systemd_units', 'tcp_conn_stats', 'uptime', 'vbox_guest']
Source: SourceType.HOST/FetcherType.PIGGYBACK
No persisted sections
-> Add sections: []
Received no piggyback data
Received no piggyback data
[cpu_tracking] Start [7fbbcff56640]
value store: synchronizing
Trying to acquire lock on /omd/sites/mysite/tmp/check_mk/counters/serverxyz.domain.de
Got lock on /omd/sites/mysite/tmp/check_mk/counters/serverxyz.domain.de
value store: loading from disk
Releasing lock on /omd/sites/mysite/tmp/check_mk/counters/serverxyz.domain.de
Released lock on /omd/sites/mysite/tmp/check_mk/counters/serverxyz.domain.de
APT Updates PEND - Check plugin received no monitoring data
No piggyback files for 'serverxyz.domain.de'. Skip processing.
No piggyback files for 'IP'. Skip processing.
[cpu_tracking] Stop [7fbbcff56640 - Snapshot(process=posix.times_result(user=0.16999999999999993, system=0.0, children_user=0.0, children_system=0.0, elapsed=0.17999999970197678))]
[agent] Success, Got no information from host(!!), execution time 0.9 sec | execution_time=0.930 user_time=0.180 system_time=0.000 children_user_time=0.000 children_system_time=0.000 cmk_time_agent=0.740
Additional Information
The “CheckMK”-service successfully detects the existence of a plugin on my hosts.
I can run /usr/lib/check_mk_agent/plugins/3600/mk_apt
with correct output.
Output of cmk --debug -vvv --detect-plugins mk_apt serverxyz.domain.de
:
OMD[mysite]:~$ cmk --debug -vvv --detect-plugins mk_apt serverxyz.domain.de
Checkmk version 2.1.0p9
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
+ FETCHING DATA
Source: SourceType.HOST/FetcherType.TCP
[cpu_tracking] Start [7f804478af10]
[TCPFetcher] Fetch with cache settings: DefaultAgentFileCache(serverxyz.domain.de, base_path=/omd/sites/mysite/tmp/check_mk/cache, max_age=MaxAge(checking=0, discovery=120, inventory=120), disabled=False, use_outdated=False, simulation=False)
Not using cache (Mode Mode.FORCE_SECTIONS)
[TCPFetcher] Execute data source
Connecting via TCP to IP:6556 (5.0s timeout)
Detected transport protocol: TransportProtocol.TLS (b'16')
Reading data from agent via TLS socket
Reading data from agent
Detected transport protocol: TransportProtocol.PLAIN (b'<<')
Not using cache (Mode Mode.FORCE_SECTIONS)
Closing TCP connection to IP:6556
[cpu_tracking] Stop [7f804478af10 - Snapshot(process=posix.times_result(user=0.0, system=0.0, children_user=0.0, children_system=0.0, elapsed=0.7399999983608723))]
Source: SourceType.HOST/FetcherType.PIGGYBACK
[cpu_tracking] Start [7f804478ad60]
[PiggybackFetcher] Fetch with cache settings: NoCache(serverxyz.domain.de, 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
No piggyback files for 'serverxyz.domain.de'. Skip processing.
No piggyback files for 'IP'. Skip processing.
Not using cache (Cache usage disabled)
[cpu_tracking] Stop [7f804478ad60 - Snapshot(process=posix.times_result(user=0.0, system=0.0, children_user=0.0, children_system=0.0, elapsed=0.0))]
+ PARSE FETCHER RESULTS
Source: SourceType.HOST/FetcherType.TCP
<<<check_mk>>> / Transition NOOPParser -> HostSectionParser
<<<cmk_agent_ctl_status:sep(0)>>> / Transition HostSectionParser -> HostSectionParser
<<<checkmk_agent_plugins_lnx:sep(0)>>> / Transition HostSectionParser -> HostSectionParser
<<<labels:sep(0)>>> / Transition HostSectionParser -> HostSectionParser
<<<df>>> / Transition HostSectionParser -> HostSectionParser
<<<df>>> / Transition HostSectionParser -> HostSectionParser
<<<systemd_units>>> / Transition HostSectionParser -> HostSectionParser
<<<nfsmounts>>> / Transition HostSectionParser -> HostSectionParser
<<<cifsmounts>>> / Transition HostSectionParser -> HostSectionParser
<<<mounts>>> / Transition HostSectionParser -> HostSectionParser
<<<ps_lnx>>> / Transition HostSectionParser -> HostSectionParser
<<<mem>>> / Transition HostSectionParser -> HostSectionParser
<<<cpu>>> / Transition HostSectionParser -> HostSectionParser
<<<uptime>>> / Transition HostSectionParser -> HostSectionParser
<<<lnx_if>>> / Transition HostSectionParser -> HostSectionParser
<<<lnx_if:sep(58)>>> / Transition HostSectionParser -> HostSectionParser
<<<tcp_conn_stats>>> / Transition HostSectionParser -> HostSectionParser
<<<diskstat>>> / Transition HostSectionParser -> HostSectionParser
<<<kernel>>> / Transition HostSectionParser -> HostSectionParser
<<<md>>> / Transition HostSectionParser -> HostSectionParser
<<<vbox_guest>>> / Transition HostSectionParser -> HostSectionParser
<<<job>>> / Transition HostSectionParser -> HostSectionParser
<<<local:sep(0)>>> / Transition HostSectionParser -> HostSectionParser
<<<apt:cached(1672734289,3600):sep(0)>>> / Transition HostSectionParser -> HostSectionParser
No persisted sections
-> Add sections: []
Source: SourceType.HOST/FetcherType.PIGGYBACK
No persisted sections
-> Add sections: []
Received no piggyback data
Received no piggyback data
[cpu_tracking] Start [7f8044a30400]
value store: synchronizing
Trying to acquire lock on /omd/sites/mysite/tmp/check_mk/counters/serverxyz.domain.de
Got lock on /omd/sites/mysite/tmp/check_mk/counters/serverxyz.domain.de
value store: loading from disk
Releasing lock on /omd/sites/mysite/tmp/check_mk/counters/serverxyz.domain.de
Released lock on /omd/sites/mysite/tmp/check_mk/counters/serverxyz.domain.de
value store: synchronizing
Trying to acquire lock on /omd/sites/mysite/tmp/check_mk/counters/serverxyz.domain.de
Got lock on /omd/sites/mysite/tmp/check_mk/counters/serverxyz.domain.de
value store: already loaded
Releasing lock on /omd/sites/mysite/tmp/check_mk/counters/serverxyz.domain.de
Released lock on /omd/sites/mysite/tmp/check_mk/counters/serverxyz.domain.de
[cpu_tracking] Stop [7f8044a30400 - Snapshot(process=posix.times_result(user=0.0, system=0.0, children_user=0.0, children_system=0.0, elapsed=0.009999997913837433))]
[agent] Success, execution time 0.7 sec | execution_time=0.750 user_time=0.000 system_time=0.000 children_user_time=0.000 children_system_time=0.000 cmk_time_agent=0.740
I appreciate every help. Let me know if there are other information needed.
- Julian