HTTPS
Re: HTTPS
You could use the standard check_http with the following option:
Code: Select all
-S, --ssl=VERSION
Connect via SSL. Port defaults to 443. VERSION is optional, and prevents
auto-negotiation (1 = TLSv1, 2 = SSLv2, 3 = SSLv3).Rob Hassing


Re: HTTPS
This must be the check_command definition at .cfg file
Code: Select all
check_command check_http!SRe: HTTPS
When i run from command line:
i am getting
Code: Select all
./check_http -H 195.130.109.104 -S -p 443Code: Select all
check_http: Invalid option - SSL is not availableRe: HTTPS
And what if you try this?
[/s]
You need to recompile your plugins with SSL support. Use these steps, or similar.
Code: Select all
./check_http -H www.google.com -S -p 443You need to recompile your plugins with SSL support. Use these steps, or similar.
Code: Select all
cd nagios-plugins-2.1.1
./configure --with-nagios-user=nagios --with-nagios-group=nagios --with-openssl
make
make install
Former Nagios Employee.
me.
me.
Re: HTTPS
i try installing openssl-devel
and then re-install the nagios plugins
and now i got an error when trying to check google
saying
Code: Select all
yum install openssl-develCode: Select all
./configure --with-nagios-user=nagios --with-nagios-group=nagios --with-openssl
make
make installCode: Select all
./check_http -H www.google.com -S -p 443Code: Select all
CRITICAL - Socket timeout after 10 seconds