When trying to send a notification from the Event Console it failed because of a wrong RPATH in the rrdtool.
Affected systems include, but are not limited to, RHEL9 and derivates.
# cat /opt/omd/sites/SITE/var/log/mkeventd.log
2024-07-02 00:00:03,726 [20] [cmk.mkeventd.StatusServer] Opened new logfile
2024-07-02 09:19:24,213 [20] [cmk.mkeventd.StatusServer] Executing command: CREATE; ###################################
2024-07-02 09:19:24,738 [40] [cmk.mkeventd.EventServer] Error notifying via Check_MK: Traceback (most recent call last):
File "/omd/sites/SITE/bin/cmk", line 39, in <module>
from cmk.base.modes import modes
File "/omd/sites/SITE/lib/python3/cmk/base/modes/init.py", line 443, in <module>
import_plugins(file, package)
File "/omd/sites/SITE/lib/python3/cmk/utils/plugin_loader.py", line 150, in import_plugins
importlib.import_module(f"{package_name}.{plugin_name}")
File "/omd/sites/SITE/lib/python3.12/importlib/init.py", line 90, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/omd/sites/SITE/lib/python3/cmk/base/modes/cee.py", line 16, in <module>
import rrdtool # type: ignore[import] # pylint: disable=import-error
^^^^^^^^^^^^^^
ImportError: librrd.so.8: cannot open shared object file: No such file or directory
Zur Liste aller Werks