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:
Alexander Aleksandrovič Klimov 2020-11-02 14:47:59 +01:00 committed by GitHub
commit d059947107
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

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