mirror of https://github.com/Icinga/icinga2.git
Check whether $http_address$ is empty
This commit is contained in:
parent
04704a49a4
commit
ed6546ca5a
|
@ -357,6 +357,7 @@ object CheckCommand "http" {
|
|||
description = "Host name argument for servers using host headers (virtual host)"
|
||||
}
|
||||
"-I" = {
|
||||
set_if = {{ string(macro("$http_address$")) != "" }}
|
||||
value = "$http_address$"
|
||||
description = "IP address or name (use numeric address if possible to bypass DNS lookup)"
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue