summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--commands/check_http.cfg4
1 files 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 {