ITL: Add verbose parameter for http CheckCommand

fixes #13433

Signed-off-by: Michael Friedrich <michael.friedrich@icinga.com>
This commit is contained in:
Patrick Huy 2016-11-11 14:09:54 +01:00 committed by Michael Friedrich
parent ce7f06bd45
commit 8ccc4da942
2 changed files with 6 additions and 0 deletions

View File

@ -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

View File

@ -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" {