Merge pull request #8020 from Icinga/bugfix/itl-mysql-s-h-8017

check_mysql: don't set -H if -s is given
This commit is contained in:
Alexander Aleksandrovič Klimov 2021-01-28 11:27:34 +01:00 committed by GitHub
commit b4e85235aa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -2723,6 +2723,7 @@ object CheckCommand "mysql" {
arguments = {
"-H" = {
set_if = {{ !macro("$mysql_socket$") }}
value = "$mysql_hostname$"
description = "Host name, IP Address, or unix socket (must be an absolute path)"
}