mirror of https://github.com/Icinga/icinga2.git
Merge pull request #8109 from Icinga/bugfix/assignment-of-check-address-blocks-check-by-hostname-4965
ITL: Assignment of check_adress in check_http blocks check by hostname
This commit is contained in:
commit
d059947107
|
@ -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