]> granicus.if.org Git - icinga2/commitdiff
Enhance http_certificate parameter documentation 5913/head
authorMichael Insel <michael@insel.email>
Fri, 22 Dec 2017 13:35:55 +0000 (14:35 +0100)
committerMichael Insel <michael@insel.email>
Fri, 22 Dec 2017 13:46:45 +0000 (14:46 +0100)
This clarifies the usage of the http_certificate parameter.

refs #5610

doc/10-icinga-template-library.md

index ba04e326a46bf40327e7820b7acefe14e92e543c..242bbe3e4c920bcbbf3dffc608382ee95f91aea5 100644 (file)
@@ -607,7 +607,7 @@ http_invertregex                 | **Optional.** Changes behavior of http_expect
 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. This parameter explicitly sets the port to 443 and ignores the URL if passed.
+http_certificate                 | **Optional.** Minimum number of days a certificate has to be valid. Port defaults to 443. When this option is used the URL is not checked. The first parameter defines the warning threshold (in days), the second parameter the critical threshold (in days). (Example `http_certificate = "30,20"`).
 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.