]> git.pld-linux.org Git - projects/nagios-config.git/commitdiff
explictly enable SNI 20171120
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Mon, 20 Nov 2017 13:48:23 +0000 (14:48 +0100)
committerElan Ruusamäe <glen@pld-linux.org>
Mon, 20 Nov 2017 17:25:49 +0000 (19:25 +0200)
cherry-picked from nagios-plugins
https://github.com/pld-linux/nagios-plugins/commit/dbe41333c2f54bb1700756fafc25178ff9d7b758

commands/check_http.cfg

index f779d498b8780f510cb95f6aabcda08122c8d6a1..df5fa821e77819335a480f87a2fd71535255923c 100644 (file)
@@ -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 {
This page took 0.217074 seconds and 4 git commands to generate.