Page 1 of 1

Fail to install nagios-plugins-release-2.4.11

Posted: Wed Apr 22, 2026 11:57 am
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.

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

Posted: Wed Apr 22, 2026 12:59 pm
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

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

Posted: Wed Apr 22, 2026 1:09 pm
by m_sadu
Hi MaterazziSan,

First off all, thanks for your reply.

Yes, I did it before Nagios installation as required by the guideline.

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

Posted: Wed Apr 22, 2026 4:45 pm
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

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

Posted: Thu Apr 23, 2026 2:57 pm
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.