mirror of
https://github.com/Icinga/icinga2.git
synced 2025-04-08 17:05:25 +02:00
ITL: Add verbose parameter for http CheckCommand
fixes #13433 Signed-off-by: Michael Friedrich <michael.friedrich@icinga.com>
This commit is contained in:
parent
ce7f06bd45
commit
8ccc4da942
@ -601,6 +601,7 @@ http_pagesize | **Optional.** Minimum page size required:Maxi
|
||||
http_timeout | **Optional.** Seconds before connection times out.
|
||||
http_ipv4 | **Optional.** Use IPv4 connection. Defaults to false.
|
||||
http_ipv6 | **Optional.** Use IPv6 connection. Defaults to false.
|
||||
http_verbose | **Optional.** Show details for command-line debugging. Defaults to false.
|
||||
|
||||
|
||||
### <a id="plugin-check-command-icmp"></a> icmp
|
||||
|
@ -455,6 +455,10 @@ object CheckCommand "http" {
|
||||
set_if = "$http_ipv6$"
|
||||
description = "Use IPv6 connection"
|
||||
}
|
||||
"-v" = {
|
||||
set_if = "$http_verbose$"
|
||||
description = "Show details for command-line debugging"
|
||||
}
|
||||
}
|
||||
|
||||
vars.http_address = "$check_address$"
|
||||
@ -464,6 +468,7 @@ object CheckCommand "http" {
|
||||
vars.http_invertregex = false
|
||||
vars.check_ipv4 = "$http_ipv4$"
|
||||
vars.check_ipv6 = "$http_ipv6$"
|
||||
vars.http_verbose = false
|
||||
}
|
||||
|
||||
object CheckCommand "ftp" {
|
||||
|
Loading…
x
Reference in New Issue
Block a user