]> granicus.if.org Git - icinga2/commitdiff
Enhance http_certificate parameter documentation
authorMichael Insel <michael@insel.email>
Fri, 22 Dec 2017 13:35:55 +0000 (14:35 +0100)
committerMichael Friedrich <michael.friedrich@icinga.com>
Thu, 19 Apr 2018 09:09:16 +0000 (11:09 +0200)
This clarifies the usage of the http_certificate parameter.

refs #5610

refs #5913

doc/10-icinga-template-library.md

index 0cb419ed51c23c285126d21b91458d698d213bc9..c8d5ad590778e1c5b461b2b1e499027cb4483ade 100644 (file)
@@ -605,7 +605,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.