[projects/nagios-config] explictly enable SNI

glen glen at pld-linux.org
Mon Nov 20 18:26:30 CET 2017


commit c74b2f1b9fb00ad5411aa781473ff2038acf4cb0
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Mon Nov 20 14:48:23 2017 +0100

    explictly enable SNI
    
    cherry-picked from nagios-plugins
    https://github.com/pld-linux/nagios-plugins/commit/dbe41333c2f54bb1700756fafc25178ff9d7b758

 commands/check_http.cfg | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/commands/check_http.cfg b/commands/check_http.cfg
index f779d49..df5fa82 100644
--- a/commands/check_http.cfg
+++ b/commands/check_http.cfg
@@ -6,12 +6,12 @@ define command {
 
 define command {
 	command_name    check_https
-	command_line    /usr/lib/nagios/plugins/check_http -I $HOSTADDRESS$ -H $HOSTNAME$ -f warning -S $ARG1$
+	command_line    /usr/lib/nagios/plugins/check_http -I $HOSTADDRESS$ -H $HOSTNAME$ -f warning -S --sni $ARG1$
 }
 
 define command {
 	command_name    check_https.crt
-	command_line    /usr/lib/nagios/plugins/check_http -I $HOSTADDRESS$ -H $HOSTNAME$ -S -C 14 $ARG1$
+	command_line    /usr/lib/nagios/plugins/check_http -I $HOSTADDRESS$ -H $HOSTNAME$ -S -C 14 --sni $ARG1$
 }
 
 define service {
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/projects/nagios-config.git/commitdiff/c74b2f1b9fb00ad5411aa781473ff2038acf4cb0



More information about the pld-cvs-commit mailing list