Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build: Error running some of the compiled plugins on Debian #732

Open
5 of 8 tasks
mmartinello opened this issue Dec 27, 2023 · 1 comment
Open
5 of 8 tasks

Build: Error running some of the compiled plugins on Debian #732

mmartinello opened this issue Dec 27, 2023 · 1 comment
Labels
bug Something isn't working
Milestone

Comments

@mmartinello
Copy link

This issue respects the following points:

Which variant of the Monitoring Plugins do you use?

  • .rpm/.deb package from repo.linuxfabrik.ch
  • Compiled for Linux (.tar/.zip from download.linuxfabrik.ch)
  • Compiled for Windows (from download.linuxfabrik.ch)
  • Source Code from GitHub

Bug description

The disk-smart check returns an error on the libselinux.so.1 library.

Steps to reproduce - Plugin call

/opt/icinga-plugins/linuxfabrik/disk-smart

Steps to reproduce - Data

root@node6 /o/i/linuxfabrik# /opt/icinga-plugins/linuxfabrik/disk-smart
smartctl: /opt/icinga-plugins/linuxfabrik/_internal/libselinux.so.1: no version information available (required by smartctl)

Environment

root@node6 /o/i/linuxfabrik# uname -a
Linux node6 5.15.131-1-pve #1 SMP PVE 5.15.131-2 (2023-11-14T11:32Z) x86_64 GNU/Linux

Proxmox VE 7.4-1 (based on Linux Debian Bullseye) updated with latest Debian packages.

Plugin Version

disk-smart: v2023112901 by Linuxfabrik GmbH, Zurich/Switzerland

Python version

No response

List of Python modules

No response

Additional Information

I'm using the compiled tarball version because my Ansible role works this way at the moment.
I could move to APT repository adapting some things if it will be necessary.
Thank you!

@mmartinello mmartinello added the bug Something isn't working label Dec 27, 2023
@markuslf markuslf changed the title smartctl: libselinux.so.1: no version information available Debian: Error running some of the compiled plugins Dec 9, 2024
@markuslf
Copy link
Member

markuslf commented Dec 9, 2024

There are some problems with libselinux (only valid for RHEL) and openssl lib, also with the latest official release 2024060401 (tested with the compiled tar):

disk-smart
smartctl: /usr/lib64/nagios/plugins/_internal/libselinux.so.1: no version information available (required by smartctl)

journald-query
journalctl: /usr/lib64/nagios/plugins/_internal/libselinux.so.1: no version information available (required by /lib/systemd/libsystemd-shared-247.so)
journalctl: /usr/lib64/nagios/plugins/_internal/libselinux.so.1: no version information available (required by /lib/x86_64-linux-gnu/libmount.so.1)

journald-usage
journalctl: /usr/lib64/nagios/plugins/_internal/libselinux.so.1: no version information available (required by /lib/systemd/libsystemd-shared-247.so)
journalctl: /usr/lib64/nagios/plugins/_internal/libselinux.so.1: no version information available (required by /lib/x86_64-linux-gnu/libmount.so.1)

nextcloud-version
sudo: /usr/lib64/nagios/plugins/_internal/libselinux.so.1: no version information available (required by sudo)

ntp-systemd-timesyncd
timedatectl: /usr/lib64/nagios/plugins/_internal/libselinux.so.1: no version information available (required by /lib/systemd/libsystemd-shared-247.so)
timedatectl: /usr/lib64/nagios/plugins/_internal/libselinux.so.1: no version information available (required by /lib/x86_64-linux-gnu/libmount.so.1)

openstack-nova-list
ImportError: urllib3 v2 only supports OpenSSL 1.1.1+, currently the 'ssl' module is compiled with 'OpenSSL 1.0.2k-fips  26 Jan 2017'. See: https://github.com/urllib3/urllib3/issues/2168

openstack-swift-stat
ImportError: urllib3 v2 only supports OpenSSL 1.1.1+, currently the 'ssl' module is compiled with 'OpenSSL 1.0.2k-fips  26 Jan 2017'. See: https://github.com/urllib3/urllib3/issues/2168

systemd-timedate-status
timedatectl: /usr/lib64/nagios/plugins/_internal/libselinux.so.1: no version information available (required by /lib/systemd/libsystemd-shared-247.so)
timedatectl: /usr/lib64/nagios/plugins/_internal/libselinux.so.1: no version information available (required by /lib/x86_64-linux-gnu/libmount.so.1)

@markuslf markuslf added this to the M006 milestone Dec 9, 2024
@markuslf markuslf changed the title Debian: Error running some of the compiled plugins Build: Error running some of the compiled plugins on Debian Dec 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants