Hi,
using 1.6.0p8 raw edition I’m having an issue apparentally related with special characters on some hardrives… It started with one, but now every new server added seems to be having this issue…
The crash report says this:
Exception:
UnicodeDecodeError ('ascii' codec can't decode byte 0xc2 in position 8: ordinal not in range(128))
Traceback:
File “/omd/sites/prod/lib/python/cmk_base/decorator.py”, line 54, in wrapped_check_func
status, infotexts, long_infotexts, perfdata = check_func(hostname, *args, **kwargs)
File “/omd/sites/prod/lib/python/cmk_base/checking.py”, line 111, in do_check
_do_all_checks_on_host(sources, host_config, ipaddress, only_check_plugin_names)
File “/omd/sites/prod/lib/python/cmk_base/checking.py”, line 247, in _do_all_checks_on_host
service.description)
File “/omd/sites/prod/lib/python/cmk_base/checking.py”, line 367, in execute_check
cache_interval=largest_interval)
File “/omd/sites/prod/lib/python/cmk_base/checking.py”, line 586, in _submit_check_result
_do_submit_to_core(host, servicedesc, state, infotext + perftext, cached_at, cache_interval)
File “/omd/sites/prod/lib/python/cmk_base/checking.py”, line 616, in _do_submit_to_core
_submit_via_check_result_file(host, service, state, output)
File “/omd/sites/prod/lib/python/cmk_base/checking.py”, line 640, in _submit_via_check_result_file
“”" % (host, cmk_base.utils.make_utf8(service), now, now, state, cmk_base.utils.make_utf8(output)))
Local Variables:
{‘host’: u’mirror97-apk’,
‘now’: 1579524781.729417,
‘output’: u’OK - 30 \xb0C|temp=30;45;50;;’,
‘service’: u’Temperature SMART TOSHIBA_DT01ACA200_23L64JLAS’,
‘state’: 0}
The client agent seems to return all ok, the issue seems to be on the check_mk server when parsing some characters.
The server is installed in Ubuntu 18.04, it has python2.7 as default, although python3 is also installed.
Could someone help?
Thanks a lot in advance