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:
Kálmán Szalai - KAMI 2017-01-11 09:41:42 +01:00 committed by Michael Friedrich
parent 6b91414109
commit 5ace3462ae
3 changed files with 8 additions and 1 deletions

View File

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

View File

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

View File

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