Can you please execute the agent on command line with “–debug” and “-vv” switch?
The code that does the import from “redfish.messages” is not active at the moment. Only preparation for the next versions.
I checked the import on both 2.2 and 2.3 - it was working without problem.
2.3
OMD[cmk]:~$ python3
Python 3.12.3 (main, May 7 2024, 15:13:53) [GCC 13.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from redfish.messages import (
... get_messages_detail,
... get_error_messages,
... search_message,
... RedfishPasswordChangeRequiredError,
... RedfishOperationFailedError,
... )
>>>
2.2
OMD[cmk]:~$ python3
Python 3.11.5 (main, Nov 30 2023, 14:57:54) [GCC 13.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from redfish.messages import (
... get_messages_detail,
... get_error_messages,
... search_message,
... RedfishPasswordChangeRequiredError,
... RedfishOperationFailedError,
... )
>>>
Please check your “~/local/lib/python3/” there should be no Redfish folder anymore with CMK 2.3.
If there is one it needs to be removed (old Redfish lib from 2.2 manually installed).