Plugin install error
Posted: Wed Jul 11, 2012 8:03 am
Hi,
So, I've installed the latest version of Nagios, set up Apache, locked it down with an SSL and all works in the sense that I can get to my nagios box and see the main page and all the links within it work. The trouble is that the plugins won't install so I am constantly getting told that my server is dead.
OS: Scientific Linux
Nagios version: 3.4.1
Plugins version: 1.4.16
I run ./configure --with-nagios-user=nagios --with-nagios-group=nagios with no issues that I can see.
I then run make and it bails out with the error being the following:
I have looked at the source code and sure enough, at line 312, it runs the following check:
So what is optarg and why is it being returned as NULL by my OS causing the ssl_version to be set as 0 and then causing the make command to fail? (Obviously I could be reading that wrong).
The trouble is that I'm not really sure what it's complaining about. I have the latest version of OpenSSL installed (openssl-1.0.0-20.el6_2.5.x86_64) so would have though that that would have me covered off with any SSL related issues.
I've looked into this problem as much far as my knowledge of Linux will take me! Can anyone tell me what I'm missing?
Thanks for your help.
So, I've installed the latest version of Nagios, set up Apache, locked it down with an SSL and all works in the sense that I can get to my nagios box and see the main page and all the links within it work. The trouble is that the plugins won't install so I am constantly getting told that my server is dead.
OS: Scientific Linux
Nagios version: 3.4.1
Plugins version: 1.4.16
I run ./configure --with-nagios-user=nagios --with-nagios-group=nagios with no issues that I can see.
I then run make and it bails out with the error being the following:
Code: Select all
check_http.c:312: error: 'ssl_version' undeclared.Code: Select all
311 if (optarg == NULL || c != 'S')
312 ssl_version = 0;
313 else {
314 ssl_version = atoi(optarg);
315 if (ssl_version < 1 || ssl_version > 3)
316 usage4 (_("Invalid option - Valid values for SSL Version are 1 (TLSv1), 2 (SSLv2) or 3 (SSLv3)"));
317 }The trouble is that I'm not really sure what it's complaining about. I have the latest version of OpenSSL installed (openssl-1.0.0-20.el6_2.5.x86_64) so would have though that that would have me covered off with any SSL related issues.
I've looked into this problem as much far as my knowledge of Linux will take me! Can anyone tell me what I'm missing?
Thanks for your help.