mirror of https://github.com/Icinga/icinga2.git
Add wrap output in HTML link parameter for http CheckCommand
fixes #120 Signed-off-by: Michael Friedrich <michael.friedrich@icinga.com>
This commit is contained in:
parent
6b91414109
commit
5ace3462ae
1
AUTHORS
1
AUTHORS
|
@ -66,6 +66,7 @@ Joseph L. Casale <jcasale@activenetwerx.com>
|
|||
Julian Brost <julian@0x4a42.net>
|
||||
Jérôme Drouet <jerome.drouet@gmail.com>
|
||||
Konstantin Kelemen <konstantin@kel.mn>
|
||||
Kálmán Szalai - KAMI <kami911@gmail.com>
|
||||
Lars Engels <lars.engels@0x20.net>
|
||||
Lars Krüger <krueger-lars@web.de>
|
||||
Lee Clemens <java@leeclemens.net>
|
||||
|
|
|
@ -601,7 +601,8 @@ 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.
|
||||
http_link | **Optional.** Wrap output in HTML link. Defaults to false.
|
||||
http_verbose | **Optional.** Show details for command-line debugging. Defaults to false.
|
||||
|
||||
|
||||
### <a id="plugin-check-command-icmp"></a> icmp
|
||||
|
|
|
@ -457,6 +457,10 @@ object CheckCommand "http" {
|
|||
set_if = "$http_ipv6$"
|
||||
description = "Use IPv6 connection"
|
||||
}
|
||||
"-L" = {
|
||||
set_if = "$http_link$"
|
||||
description = "Wrap output in HTML link"
|
||||
}
|
||||
"-v" = {
|
||||
set_if = "$http_verbose$"
|
||||
description = "Show details for command-line debugging"
|
||||
|
@ -470,6 +474,7 @@ object CheckCommand "http" {
|
|||
vars.http_invertregex = false
|
||||
vars.check_ipv4 = "$http_ipv4$"
|
||||
vars.check_ipv6 = "$http_ipv6$"
|
||||
vars.http_link = false
|
||||
vars.http_verbose = false
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue