Error message:
There is one Service PING which is Unknown (don’t know why because I set No IP)…
and the CheckMK Discovery showing this:
no unmonitored services found, no vanished services found, no new host labels, [special_kube] Agent exited with code 1: ‘NoneType’ object has no attribute ‘partition’
Output of “cmk --debug -vvn hostname”: (If it is a problem with checks or plugins)
…
[cpu_tracking] Stop [7f298d7a4eb0 - Snapshot(process=posix.times_result(user=0.009999999999999787, system=0.0, children_user=0.0, children_system=0.0, elapsed=0.010000001639127731))]
[special_kube] Agent exited with code 1: ‘NoneType’ object has no attribute ‘partition’(!!), execution time 0.0 sec | execution_time=0.010 user_time=0.010 system_time=0.000 children_user_time=0.000 children_system_time=0.000
The next beta was published finally today but now I got the next error… it seems like the DCD on remote nodes still uses WebAPI but which is disabled per default:
18:09:48 ERROR An exception occured
Traceback (most recent call last):
File "/omd/sites/cn_central/lib/python3/cmk/cee/dcd/connectors/utils.py", line 217, in _execute_sync
phase1_result = self._fetch_phase1_result_from_remote_site()
File "/omd/sites/cn_central/lib/python3/cmk/cee/dcd/connectors/utils.py", line 266, in _fetch_phase1_result_from_remote_site
raw_response = self._web_api.execute_remote_automation(
File "/omd/sites/cn_central/lib/python3/cmk/cee/dcd/web_api.py", line 360, in execute_remote_automation
result = self._api_request(
File "/omd/sites/cn_central/lib/python3/cmk/cee/dcd/web_api.py", line 199, in _api_request
raise MKAPIError(parsed_response["result"])
cmk.cee.dcd.web_api.MKAPIError: Checkmk exception: The Web API has been disabled using the global setting "Disable Web API". Before you enable it, please note that the Web API is deprecated with Checkmk 2.1 and will be removed with Checkmk 2.2. Please use the REST API instead. Have a look at werk #13640 for further information.
Traceback (most recent call last):
File "/omd/sites/cn_central/lib/python3/cmk/gui/webapi.py", line 101, in page_api
raise MKUserError(
cmk.gui.exceptions.MKUserError: The Web API has been disabled using the global setting "Disable Web API". Before you enable it, please note that the Web API is deprecated with Checkmk 2.1 and will be removed with Checkmk 2.2. Please use the REST API instead. Have a look at werk #13640 for further information.
@chauhan_sudhir Thank you but I know. But other things are working with REST API - in my opinion this is a bug. The “site management” which was mentioned as “open and will be done after 2.1” is in my opinion not related to this error. But maybe someone of CheckMK will answer here or on my mail to feedback…
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed. Contact an admin if you think this should be re-opened.