Mk_filestat keeps crashing!

hallo,

das plugin mk_filestat crasht andauerend wenn defaults ausgeführt wird
mit dem parmameter “output: count_only” funktioniert es. mit standard (output: file_stats) crusht er.

benutze aktuell noch eine test version von der Appliance → 2.1.0p3.cfe

config datei :
image

Agent-Output

Output GUI checkmk
image

Crash Report:

Exception :
ValueError ('details' must be non-empty str or None, got )
Traceback :

  result = _aggregate_results(
File "/omd/sites/checkmkmo/lib/python3/cmk/base/agent_based/checking/__init__.py", line 578, in _aggregate_results
  perfdata, results = _consume_and_dispatch_result_types(subresults)
File "/omd/sites/checkmkmo/lib/python3/cmk/base/agent_based/checking/__init__.py", line 622, in _consume_and_dispatch_result_types
  for subr in subresults:
File "/omd/sites/checkmkmo/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/checkmkmo/lib/python3/cmk/base/api/agent_based/register/check_plugins_legacy.py", line 195, in check_result_generator
  yield from _create_new_results_with_details(subresults[idx:])
File "/omd/sites/checkmkmo/lib/python3/cmk/base/api/agent_based/register/check_plugins_legacy.py", line 227, in _create_new_results_with_details
  yield Result(
File "/omd/sites/checkmkmo/lib/python3/cmk/base/api/agent_based/checking_classes.py", line 367, in __new__
  state, summary, details = _create_result_fields(**kwargs)
File "/omd/sites/checkmkmo/lib/python3/cmk/base/api/agent_based/checking_classes.py", line 405, in _create_result_fields
  raise ValueError(f"'{name}' must be non-empty str or None, got {var}") 

vielen Dank im voraus :))

This problem has already been fixed as part of this werk crash in legacy plugins with empty details

You can upgrade to 2.1.0p5

2 Likes