HTTPS
Posted: Mon Jun 27, 2016 4:34 am
How can i check https?
Support for Nagios products and services
https://support.nagios.com/forum/
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).Code: Select all
check_command check_http!SCode: Select all
./check_http -H 195.130.109.104 -S -p 443Code: Select all
check_http: Invalid option - SSL is not availableCode: Select all
./check_http -H www.google.com -S -p 443Code: Select all
cd nagios-plugins-2.1.1
./configure --with-nagios-user=nagios --with-nagios-group=nagios --with-openssl
make
make install
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