diff --git a/doc/7-icinga-template-library.md b/doc/7-icinga-template-library.md index 710dbb186..7839b914b 100644 --- a/doc/7-icinga-template-library.md +++ b/doc/7-icinga-template-library.md @@ -446,6 +446,9 @@ http_vhost | **Optional.** The virtual host that should be sent in http_uri | **Optional.** The request URI for GET or POST. Defaults to `/`. http_port | **Optional.** The TCP port. Defaults to 80 when not using SSL, 443 otherwise. http_ssl | **Optional.** Whether to use SSL. Defaults to false. +http_ssl_force_tlsv1 | **Optional.** Whether to force TLSv1. +http_ssl_force_sslv2 | **Optional.** Whether to force SSLv2. +http_ssl_force_sslv3 | **Optional.** Whether to force SSLv3. http_sni | **Optional.** Whether to use SNI. Defaults to false. http_auth_pair | **Optional.** Add 'username:password' authorization pair. http_proxy_auth_pair | **Optional.** Add 'username:password' authorization pair for proxy. diff --git a/itl/command-plugins.conf b/itl/command-plugins.conf index 610cd83f9..61b78eb8b 100644 --- a/itl/command-plugins.conf +++ b/itl/command-plugins.conf @@ -331,6 +331,15 @@ object CheckCommand "http" { "-S" = { set_if = "$http_ssl$" } + "-S1" = { + set_if = "$http_ssl_force_tlsv1$" + } + "-S2" = { + set_if = "$http_ssl_force_sslv2$" + } + "-S3" = { + set_if = "$http_ssl_force_sslv3$" + } "--sni" = { set_if = "$http_sni$" }