Page 1 of 1

My centos 4.4 after upgrade plugin still not support ssl?

Posted: Thu May 26, 2016 2:21 am
by emilys
Hi Nagios Support

I am getting "CRITICAL - Cannot make SSL connection" on nagios monitoring. After some search, I understand old version of nagios plugin not supporting SSL. As such I have upgrade my linux server to nagios plugins-2.1.1 and it works. However, this is not working on my centos 4.4. Please see the server info and detail below. Please advise and help. Thank you

Server Info:
=======================
[root@PLMON1 nagios]# uname -a
Linux PLMON1 2.6.9-42.0.3.EL.xs0.4.0.263xenU #1 SMP Fri Jan 5 05:46:45 EST 2007 i686 i686 i386 GNU/Linux

[root@PLMON1 nagios]# cat /etc/redhat-release
CentOS release 4.4 (Final)


[root@PLMON1 tmp]# /usr/local/groundwork/apache2/bin/httpd -V
Server version: Apache/2.2.4 (Unix)
Server built: May 10 2007 16:14:51
Server's Module Magic Number: 20051115:4
Server loaded: APR 1.2.8, APR-Util 1.2.8
Compiled using: APR 1.2.8, APR-Util 1.2.8
Architecture: 32-bit
Server MPM: Prefork
threaded: no
forked: yes (variable process count)


[root@PLMON1 libexec]# rpm -qa|grep -i openssl
openssl-0.9.7a-43.10
pyOpenSSL-0.6-1.p23
xmlsec1-openssl-1.2.6-3
openssl-devel-0.9.7a-43.10

[root@PLMON1 libexec]# rpm -qa|grep -i gcc
gcc-g77-3.4.6-3
libgcc-3.4.6-3
gcc-c++-3.4.6-3
gcc-3.4.6-3

Old version of Nagios plugins
=================================
[root@PLMON1 libexec]# ./check_http --version
check_http (nagios-plugins 1.4.5) 1.96

[root@PLMON1 libexec]# ./check_http -S -H yyyy.yyy.yy -I xx.xx.xx.xx -u /nsp/web/login-nsp -w 15 -f critical -R JavaScript -t 30 -4
CRITICAL - Cannot make SSL connection
Error on receive

[root@PLMON1 libexec]# pwd
/usr/local/groundwork/nagios/libexec

New version of Nagios plugins
=========================================
[root@PLMON1 plugins]# ./check_http -S -H yyyy.yyy.yy -I xx.xx.xx.xx -u /nsp/web/login-nsp -w 15 -f critical -R JavaScript -t 30 -4
CRITICAL - Cannot make SSL connection.

[root@PLMON1 plugins]# ./check_http --version
check_http v2.1.1 (nagios-plugins 2.1.1)

[root@PLMON1 plugins]# pwd
/home/users/nagios-plugins-2.1.1/plugins

Re: My centos 4.4 after upgrade plugin still not support ssl

Posted: Thu May 26, 2016 11:01 am
by rkennedy
While we created Nagios, we didn't create Groundwork. Your best bet is going to be to ask them for support.

On a side note - seems to be working fine without issues here. More than likely an issue with something depending how the machine is setup.

Code: Select all

[root@localhost libexec]# ./check_http -S -H google.com -u / -w 15 -f follow
HTTP OK: HTTP/1.1 200 OK - 12982 bytes in 0.412 second response time |time=0.411650s;15.000000;;0.000000 size=12982B;;;0