[icinga-checkins] icinga.org: icinga2/master: ITL: Fix the description for http_certificate

git at icinga.org git at icinga.org
Sat Aug 13 15:51:08 CEST 2016


Module: icinga2
Branch: master
Commit: c7af804cfd77c9d19becab0dab071abf642894dc
URL:    https://git.icinga.org/?p=icinga2.git;a=commit;h=c7af804cfd77c9d19becab0dab071abf642894dc

Author: Michael Friedrich <michael.friedrich at netways.de>
Date:   Sat Aug 13 15:50:45 2016 +0200

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 14d0ad4..066998a 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 049a33a..164e886 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$"



More information about the icinga-checkins mailing list