mirror of
https://github.com/Icinga/icinga2.git
synced 2025-04-08 17:05:25 +02:00
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…
x
Reference in New Issue
Block a user