diff --git a/doc/10-icinga-template-library.md b/doc/10-icinga-template-library.md index 0e064ce37..e38a7fad5 100644 --- a/doc/10-icinga-template-library.md +++ b/doc/10-icinga-template-library.md @@ -684,6 +684,7 @@ http_ipv4 | **Optional.** Use IPv4 connection. Defaults t http_ipv6 | **Optional.** Use IPv6 connection. Defaults to false. http_link | **Optional.** Wrap output in HTML link. Defaults to false. http_verbose | **Optional.** Show details for command-line debugging. Defaults to false. +http_verify_host | **Optional.** Verify SSL certificate is for the -H hostname (with --sni and -S). Defaults to false. **Only supported by the Nagios plugins version of check\_http, not by the monitoring plugins one.** ### icmp <a id="plugin-check-command-icmp"></a> diff --git a/itl/command-plugins.conf b/itl/command-plugins.conf index d3f380e65..269e5627a 100644 --- a/itl/command-plugins.conf +++ b/itl/command-plugins.conf @@ -540,6 +540,10 @@ object CheckCommand "http" { set_if = "$http_verbose$" description = "Show details for command-line debugging" } + "--verify-host" = { + set_if = "$http_verify_host$" + description = "Verify SSL certificate is for the -H hostname (with --sni and -S)" + } } vars.http_address = "$check_address$"