From c7af804cfd77c9d19becab0dab071abf642894dc Mon Sep 17 00:00:00 2001 From: Michael Friedrich Date: Sat, 13 Aug 2016 15:50:45 +0200 Subject: [PATCH] ITL: Fix the description for http_certificate fixes #12416 --- doc/7-icinga-template-library.md | 2 +- itl/command-plugins.conf | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/7-icinga-template-library.md b/doc/7-icinga-template-library.md index 14d0ad4b1..066998ac9 100644 --- a/doc/7-icinga-template-library.md +++ b/doc/7-icinga-template-library.md @@ -565,7 +565,7 @@ http_invertregex | **Optional.** Changes behaviour of http_expec http_warn_time | **Optional.** The warning threshold. http_critical_time | **Optional.** The critical threshold. http_expect | **Optional.** Comma-delimited list of strings, at least one of them is expected in the first (status) line of the server response. Default: HTTP/1. -http_certificate | **Optional.** Minimum number of days a certificate has to be valid. Port defaults to 443. +http_certificate | **Optional.** Minimum number of days a certificate has to be valid. This parameter explicitely sets the port to 443 and ignores the URL if passed. http_clientcert | **Optional.** Name of file contains the client certificate (PEM format). http_privatekey | **Optional.** Name of file contains the private key (PEM format). http_headerstring | **Optional.** String to expect in the response headers. diff --git a/itl/command-plugins.conf b/itl/command-plugins.conf index 049a33a33..164e88649 100644 --- a/itl/command-plugins.conf +++ b/itl/command-plugins.conf @@ -366,7 +366,7 @@ object CheckCommand "http" { } "-C" = { value = "$http_certificate$" - description = "Minimum number of days a certificate has to be valid. Port defaults to 443." + description = "Minimum number of days a certificate has to be valid. This parameter explicitely sets the port to 443 and ignores the URL if passed." } "-J" = { value = "$http_clientcert$"