Fail to install nagios-plugins-release-2.4.11

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Post Reply
m_sadu
Posts: 3
Joined: Wed Apr 22, 2026 11:19 am

Fail to install nagios-plugins-release-2.4.11

Post by m_sadu »

Hi you all.

Please, I need support/guidance to solve the following:

I've successfully installed nagios-4.5.12 supported by the guidance below:
https://support.nagios.com/kb/article/n ... tml#Debian

When trying to install the plugins (nagios-plugins-release-2.4.11) following step-by-step commands, I get:

1- Step "./configure" (many) warnings like this:
../gl/gl_openssl.h:105:3: warning: ‘SHA1_Final’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]

2- Step "make", the msg error below:
/usr/bin/ld: libnpcommon.a(sslutils.o): in function `np_net_ssl_init_with_hostname_version_and_cert':
/home/msadu/Downloads/nagios-plugins-release-2.4.11/plugins/sslutils.c:190: undefined reference to `SSL_get1_peer_certificate'
/usr/bin/ld: libnpcommon.a(sslutils.o): in function `np_net_ssl_check_cert_real':
/home/msadu/Downloads/nagios-plugins-release-2.4.11/plugins/sslutils.c:264: undefined reference to `SSL_get1_peer_certificate'
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:2087: check_http] Erro 1

Not run the step "make install" and so no plugin is installed.

Any recommendation on how to solve?
Thanks in advance.
User avatar
MaterazziSan
Posts: 32
Joined: Wed Apr 19, 2023 5:31 pm

Re: Fail to install nagios-plugins-release-2.4.11

Post by MaterazziSan »

Hi,

Have you installed all dependencies?

Code: Select all

apt-get install -y autoconf gcc libc6 libmcrypt-dev make libssl-dev wget bc gawk dc build-essential snmp libnet-snmp-perl gettext
Best regards
m_sadu
Posts: 3
Joined: Wed Apr 22, 2026 11:19 am

Re: Fail to install nagios-plugins-release-2.4.11

Post by m_sadu »

Hi MaterazziSan,

First off all, thanks for your reply.

Yes, I did it before Nagios installation as required by the guideline.
ekapsner
Posts: 31
Joined: Wed Mar 05, 2025 2:53 pm

Re: Fail to install nagios-plugins-release-2.4.11

Post by ekapsner »

Hi @m_sadu,

On what version of Debian are you installing this? The documentation has not yet been updated for Debian 12 or 13 and there might be some issues with packages.

Thanks,
- Emmett
m_sadu
Posts: 3
Joined: Wed Apr 22, 2026 11:19 am

Re: Fail to install nagios-plugins-release-2.4.11

Post by m_sadu »

Hi Emmet,
I'm using MX-Linux (Debian flavor).

As I was suspect that problem was related to openssl cipher when running the plugins compilation, I was able to workaround the issue, removing openssl 3 and installing openssl1.1.1w.
The plugins installation worked and the nagios is running fine.

Thanks all for all reply.
Post Reply