Ja, er erhaltet nun den special agent, aber er erhaltet dies:
[special_redfish] Agent exited with code 1: Agent failed - please submit a crash report! (Crash-ID: fcfb3314-5133-11ee-a671-137039d43f37)**CRIT** , [piggyback] Success (but no data found for this host), execution time 1.3 sec
Crash Report:
Exception
InvalidCredentialsError (HTTP 401 Unauthorized returned: Invalid credentials supplied)
Traceback
File "/omd/sites/site/lib/python3/cmk/special_agents/utils/agent_common.py", line 148, in _special_agent_main_core
return main_fn(args)
File "/omd/sites/site/local/share/check_mk/agents/special/agent_redfish", line 566, in agent_redfish_main
REDFISHOBJ = get_session(args)
File "/omd/sites/site/local/share/check_mk/agents/special/agent_redfish", line 546, in get_session
REDFISHOBJ.login(auth="session")
File "/omd/sites/site/local/lib/python3/redfish/rest/v1.py", line 1006, in login
raise InvalidCredentialsError('HTTP 401 Unauthorized returned: Invalid credentials supplied')
Local Variables
{'auth': 'session',
'data': {'Password': 'pass', 'UserName': 'user'},
'headers': {'Accept': '*/*',
'Content-Type': 'application/json',
'OData-Version': '4.0'},
'message_item': None,
'password': None,
'resp': <redfish.rest.v1.RestResponse object at 0x7f11e2bf0d50>,
'self': <redfish.rest.v1.HttpClient object at 0x7f11e2bcd250>,
'username': None}
Ich hab mich schon am anfang gefragt, was für ein Benutzer in der API rein sollte.