Crash Mongodb Plugin

**CMK version:Checkmk Enterprise Edition 2022.01.14
**OS version:CentOS Linux release 7.9.2009 (Core)

Error message:

Hi,
in meiner checkmk Spielumgebung (daily build) habe ich mal versucht, eine standard mongo db zu überwachen und stoße dabei auf folgendes Problem.
Hat da jemand spontan eine Idee, woran das liegen könnte?
Danke vorab!

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

OMD[daily]:~/share/check_mk/agents/plugins$ cmk --debug -vvn centos8
Checkmk version 2022.01.14
Try license usage history update.
Trying to acquire lock on /omd/sites/daily/var/check_mk/license_usage/next_run
Got lock on /omd/sites/daily/var/check_mk/license_usage/next_run
Trying to acquire lock on /omd/sites/daily/var/check_mk/license_usage/history.json
Got lock on /omd/sites/daily/var/check_mk/license_usage/history.json
Next run time has not been reached yet. Abort.
Releasing lock on /omd/sites/daily/var/check_mk/license_usage/history.json
Released lock on /omd/sites/daily/var/check_mk/license_usage/history.json
Releasing lock on /omd/sites/daily/var/check_mk/license_usage/next_run
Released lock on /omd/sites/daily/var/check_mk/license_usage/next_run
[cpu_tracking] Start [7fd5758f2550]
+ FETCHING DATA
  Source: SourceType.HOST/FetcherType.TCP
[cpu_tracking] Start [7fd5758abd90]
Connecting via TCP to 192.168.178.54:6556 (5.0s timeout)
[TCPFetcher] Fetch with cache settings: DefaultAgentFileCache(centos8, base_path=/omd/sites/daily/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 10 sec, allowed is 0 sec)
[TCPFetcher] Execute data source
Detected transport protocol: {protocol} ({raw_protocol!r})
Reading data from agent
Write data to cache file /omd/sites/daily/tmp/check_mk/cache/centos8
Trying to acquire lock on /omd/sites/daily/tmp/check_mk/cache/centos8
Got lock on /omd/sites/daily/tmp/check_mk/cache/centos8
Releasing lock on /omd/sites/daily/tmp/check_mk/cache/centos8
Released lock on /omd/sites/daily/tmp/check_mk/cache/centos8
Closing TCP connection to 192.168.178.54:6556
[cpu_tracking] Stop [7fd5758abd90 - Snapshot(process=posix.times_result(user=0.0, system=0.0, children_user=0.0, children_system=0.0, elapsed=0.8899999996647239))]
  Source: SourceType.HOST/FetcherType.PIGGYBACK
[cpu_tracking] Start [7fd5758c51c0]
No piggyback files for 'centos8'. Skip processing.
No piggyback files for '192.168.178.54'. Skip processing.
[PiggybackFetcher] Fetch with cache settings: NoCache(centos8, base_path=/omd/sites/daily/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
Not using cache (Cache usage disabled)
[cpu_tracking] Stop [7fd5758c51c0 - 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
<<<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
<<<chrony:cached(1642193767,30)>>> / Transition HostSectionParser -> HostSectionParser
<<<local:sep(0)>>> / Transition HostSectionParser -> HostSectionParser
<<<mongodb_instance:sep(9)>>> / Transition HostSectionParser -> HostSectionParser
<<<mongodb_asserts>>> / Transition HostSectionParser -> HostSectionParser
<<<mongodb_connections>>> / Transition HostSectionParser -> HostSectionParser
<<<mongodb_locks>>> / Transition HostSectionParser -> HostSectionParser
<<<mongodb_mem>>> / Transition HostSectionParser -> HostSectionParser
<<<mongodb_counters>>> / Transition HostSectionParser -> HostSectionParser
<<<mongodb_collections:sep(9)>>> / Transition HostSectionParser -> HostSectionParser
<<<logwatch>>> / Transition HostSectionParser -> HostSectionParser
<<<check_mk:cached(1642193630,600)>>> / Transition HostSectionParser -> HostSectionParser
Trying to acquire lock on /omd/sites/daily/var/check_mk/persisted/centos8
Got lock on /omd/sites/daily/var/check_mk/persisted/centos8
Releasing lock on /omd/sites/daily/var/check_mk/persisted/centos8
Released lock on /omd/sites/daily/var/check_mk/persisted/centos8
Stored persisted sections: lnx_packages, lnx_distro, lnx_cpuinfo, dmidecode, lnx_uname, lnx_video, lnx_ip_r, lnx_sysctl, lnx_block_devices
Using persisted section SectionName('lnx_packages')
Using persisted section SectionName('lnx_distro')
Using persisted section SectionName('lnx_cpuinfo')
Using persisted section SectionName('dmidecode')
Using persisted section SectionName('lnx_uname')
Using persisted section SectionName('lnx_video')
Using persisted section SectionName('lnx_ip_r')
Using persisted section SectionName('lnx_sysctl')
Using persisted section SectionName('lnx_block_devices')
  -> Add sections: ['check_mk', 'checkmk_agent_plugins_lnx', 'chrony', 'cifsmounts', 'cpu', 'df', 'diskstat', 'dmidecode', 'job', 'kernel', 'labels', 'lnx_block_devices', 'lnx_cpuinfo', 'lnx_distro', 'lnx_if', 'lnx_ip_r', 'lnx_packages', 'lnx_sysctl', 'lnx_uname', 'lnx_video', 'local', 'logwatch', 'md', 'mem', 'mongodb_asserts', 'mongodb_collections', 'mongodb_connections', 'mongodb_counters', 'mongodb_instance', 'mongodb_locks', 'mongodb_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
value store: synchronizing
Trying to acquire lock on /omd/sites/daily/tmp/check_mk/counters/centos8
Got lock on /omd/sites/daily/tmp/check_mk/counters/centos8
value store: loading from disk
Releasing lock on /omd/sites/daily/tmp/check_mk/counters/centos8
Released lock on /omd/sites/daily/tmp/check_mk/counters/centos8
CPU load             15 min load: 0.03, 15 min load per core: 0.01 (2 cores)
CPU utilization      Total CPU: 1.67%
Check_MK Agent       Error: Error during installation of package(!), Last update check: 2022-01-14 21:53:50, Last agent update: 2021-11-13 13:22:23, Update URL: http://192.168.178.46/daily/check_mk, Agent configuration: ab113084, Pending installation: 4cf57265
Checkmk agent plugins Agent plugins: 2, Local checks: 0
Disk IO SUMMARY      Read: 0.00 B/s, Write: 25.2 kB/s, Latency: 281 microseconds
Filesystem /         1.57% used (6.39 of 405.79 GB), trend: +405.40 MB / 24 hours
Filesystem /boot     16.97% used (345.83 MB of 1.99 GB), trend: +19.65 MB / 24 hours
Filesystem /home     0.73% used (745.87 MB of 99.95 GB), trend: 0.00 B / 24 hours
Interface 2          [enp0s3], (up), MAC: 08:00:27:8F:D8:E0, Speed: 1 GBit/s, In: 748 B/s (<0.01%), Out: 5.65 kB/s (<0.01%)
Kernel Performance   Process Creations: 11.42/s, Context Switches: 396.92/s, Major Page Faults: 0.00/s, Page Swap in: 0.00/s, Page Swap Out: 0.00/s
Log MongoDB startupWarnings No error messages
Memory               Total virtual memory: 4.79% - 283.26 MB of 5.77 GB
Memory used MongoDB  Resident usage: 118.00 MB, Virtual usage: 1.53 GB
MongoDB Asserts      0.00 Regular Asserts/sec, 0.00 Warning Asserts/sec, 0.00 Msg Asserts/sec, 1.28 User Asserts/sec, 0.00 Tripwire Asserts/sec, 0.00 Rollovers Asserts/sec
[cpu_tracking] Stop [7fd5758f2550 - Snapshot(process=posix.times_result(user=0.04999999999999982, system=0.0, children_user=0.0, children_system=0.0, elapsed=0.9400000004097819))]
Trying to acquire lock on /omd/sites/daily/var/check_mk/crashes/base/6cc2bc48-757c-11ec-890a-080027ccf1a1/crash.info
Got lock on /omd/sites/daily/var/check_mk/crashes/base/6cc2bc48-757c-11ec-890a-080027ccf1a1/crash.info
Releasing lock on /omd/sites/daily/var/check_mk/crashes/base/6cc2bc48-757c-11ec-890a-080027ccf1a1/crash.info
Released lock on /omd/sites/daily/var/check_mk/crashes/base/6cc2bc48-757c-11ec-890a-080027ccf1a1/crash.info
Traceback (most recent call last):
  File "/omd/sites/daily/bin/cmk", line 98, in <module>
    exit_status = modes.call("--check", None, opts, args)
  File "/omd/sites/daily/lib/python3/cmk/base/modes/__init__.py", line 69, in call
    return handler(*handler_args)
  File "/omd/sites/daily/lib/python3/cmk/base/modes/check_mk.py", line 1804, in mode_check
    checking.commandline_checking(
  File "/omd/sites/daily/lib/python3/cmk/base/agent_based/decorator.py", line 43, in wrapped_check_func
    status, output_text = _combine_texts(check_func(hostname, *args, **kwargs))
  File "/omd/sites/daily/lib/python3/cmk/base/agent_based/checking/__init__.py", line 122, in commandline_checking
    return _execute_checkmk_checks(
  File "/omd/sites/daily/lib/python3/cmk/base/agent_based/checking/__init__.py", line 174, in _execute_checkmk_checks
    num_success, plugins_missing_data = check_host_services(
  File "/omd/sites/daily/lib/python3/cmk/base/agent_based/checking/__init__.py", line 323, in check_host_services
    success = _execute_check(
  File "/omd/sites/daily/lib/python3/cmk/base/agent_based/checking/__init__.py", line 388, in _execute_check
    submittable = get_aggregated_result(
  File "/omd/sites/daily/lib/python3/cmk/base/agent_based/checking/__init__.py", line 477, in get_aggregated_result
    result = _aggregate_results(
  File "/omd/sites/daily/lib/python3/cmk/base/agent_based/checking/__init__.py", line 619, in _aggregate_results
    perfdata, results = _consume_and_dispatch_result_types(subresults)
  File "/omd/sites/daily/lib/python3/cmk/base/agent_based/checking/__init__.py", line 663, in _consume_and_dispatch_result_types
    for subr in subresults:
  File "/omd/sites/daily/lib/python3/cmk/base/api/agent_based/register/check_plugins.py", line 94, in filtered_generator
    for element in generator(*args, **kwargs):
  File "/omd/sites/daily/lib/python3/cmk/base/api/agent_based/register/check_plugins_legacy.py", line 187, in check_result_generator
    for subresult in subresults:
  File "/omd/sites/daily/share/check_mk/checks/mongodb_collections", line 86, in check_mongodb_collections
    yield 0, _mongodb_collections_long_output(collection_stats)
  File "/omd/sites/daily/share/check_mk/checks/mongodb_collections", line 159, in _mongodb_collections_long_output
    timestamp_for_humans = _mongodb_collections_timestamp_human_readable(index[2] / 1000.0)
TypeError: unsupported operand type(s) for /: 'str' and 'float'