Skip to content

Commit 894d6aa

Browse files
authored
Merge pull request #9974 from tbauriedel/fix/itl-http-definition
Fix ITL for http CheckCommand definition
2 parents 88e79ea + 600281b commit 894d6aa

File tree

3 files changed

+12
-0
lines changed

3 files changed

+12
-0
lines changed

AUTHORS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -283,6 +283,7 @@ Thomas Widhalm <[email protected]>
283283
Tim Hardeck <[email protected]>
284284
Tim Weippert <[email protected]>
285285
Timo Buhrmester <[email protected]>
286+
Tobias Bauriedel <[email protected]>
286287
Tobias Birnbaum <[email protected]>
287288
Tobias Deiminger <[email protected]>
288289
Tobias von der Krone <[email protected]>

doc/10-icinga-template-library.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -716,6 +716,7 @@ http_warn_time | **Optional.** The warning threshold.
716716
http_critical_time | **Optional.** The critical threshold.
717717
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.
718718
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"`).
719+
http_certificate_continue | **Optional.** Allows the HTTP check to continue after performing the certificate check. Does nothing unless http_certificate is used.
719720
http_clientcert | **Optional.** Name of file contains the client certificate (PEM format).
720721
http_privatekey | **Optional.** Name of file contains the private key (PEM format).
721722
http_headerstring | **Optional.** String to expect in the response headers.
@@ -734,6 +735,7 @@ http_ipv4 | **Optional.** Use IPv4 connection. Defaults t
734735
http_ipv6 | **Optional.** Use IPv6 connection. Defaults to false.
735736
http_link | **Optional.** Wrap output in HTML link. Defaults to false.
736737
http_verbose | **Optional.** Show details for command-line debugging. Defaults to false.
738+
http_extra_opts | **Optional.** Read extra plugin options from an ini file.
737739
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.**
738740

739741

itl/command-plugins.conf

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -360,6 +360,11 @@ object CheckCommand "http" {
360360
value = "$http_vhost$"
361361
description = "Host name argument for servers using host headers (virtual host)"
362362
}
363+
"--extra-opts" = {
364+
set_if = {{ string(macro("$http_extra_opts$")) != "" }}
365+
value = "$http_extra_opts$"
366+
description = "Read extra plugin options from an ini file"
367+
}
363368
"-I" = {
364369
set_if = {{ string(macro("$http_address$")) != "" }}
365370
value = "$http_address$"
@@ -425,6 +430,10 @@ object CheckCommand "http" {
425430
value = "$http_certificate$"
426431
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."
427432
}
433+
"--continue-after-certificate" = {
434+
set_if = "$http_certificate_continue$"
435+
description = "Allows the HTTP check to continue after performing the certificate check. Does nothing unless -C is used"
436+
}
428437
"-J" = {
429438
value = "$http_clientcert$"
430439
description = "Name of file contains the client certificate (PEM format)"

0 commit comments

Comments
 (0)