Closed drapiti closed 1 year ago
The plugins for RHEL 7 are compiled on CentOS 7 using Python 3.8. Your error message points to Python 3.9. Looks like your binaries were installed from the wrong repo path or weren't updated at all (just a guess).
I also tested all RHEL OS packages again - installed them according to https://repo.linuxfabrik.ch/monitoring-plugins/ in fresh VMs and ran /usr/lib64/nagios/plugins/cpu-usage
. The results:
Hi I've checked some other RHEL7 systems and they all seem to have the same problem using the official RHEL 7 repos and the linixfabrik repo. Looking into it.. Found some information here https://access.redhat.com/discussions/3244811 definatley don't want to modify the RHEL7 native glibc version. Not sure why CentoS 7 does not have this problem but most of our systems are RHEL7/RHEL8.
Done a fresh install of rhel7 and recompiled from source. It is now working.
I have now compiled and packaged the plugins for RHEL 7 on a RHEL 7 instead of CentOS and uploaded it to our repo server. Maybe you can give the new rpm (-2
) a try.
I have now compiled and packaged the plugins for RHEL 7 on a RHEL 7 instead of CentOS and uploaded it to our repo server. Maybe you can give the new rpm (
-2
) a try.
Will do.
Hi Markus, the rpm you linked above works however the package in the repo does not.
Hm... We tweaked the rpm again (in the post-install script, regarding https://github.com/Linuxfabrik/monitoring-plugins/issues/674) and added a new /7Server
symlink to the repo. Installation as described here works for us on both CentOS 7 and RHEL 7. You may want to try a yum clean all
first.
Hm... We tweaked the rpm again (in the post-install script, regarding #674) and added a new
/7Server
symlink to the repo. Installation as described here works for us on both CentOS 7 and RHEL 7. You may want to try ayum clean all
first.
The repo comes down with version 2023051201-3 so I am sure it has been updated however this version does not work on any of our rhel7 servers. It is not a major problem for us because we have created a seperate internal repo with the version which works maybe we wait to get some feedback from others in the community.
Ok, closing for now. Thanks for testing and your feedback.
This issue respects the following points:
Which variant of the Monitoring Plugins do you use?
Bug description
latest Milestone M003 on rhel 7 now giving the following error.
[93392] Error loading Python lib '/usr/lib64/nagios/plugins/libpython3.9.so.1.0': dlopen: /lib64/libc.so.6: version `GLIBC_2.28' not found (required by /usr/lib64/nagios/plugins/libpython3.9.so.1.0)
All checks have the same issue. CentOS or RHEL does not officially support this and provides glibc version 2.17 as official version.
Steps to reproduce - Plugin call
All plugins identical problem
Steps to reproduce - Data
Install latest plugins on rhel 7
Environment
Rhel 7
Plugin Version
2023051201
Python version
No response
List of Python modules
No response
Additional Information
CentOS or RHEL does not officially support this and provides glibc version 2.17 as official version.