From a8cf3b39a39aa460f065ce6b90c28c1e3535869f Mon Sep 17 00:00:00 2001 From: "Alexander A. Klimov" Date: Tue, 19 May 2020 17:24:21 +0200 Subject: [PATCH] check_mysql: don't set -H if -s is given ... as -H overrides -s. refs #8017 --- itl/command-plugins.conf | 1 + 1 file changed, 1 insertion(+) diff --git a/itl/command-plugins.conf b/itl/command-plugins.conf index c0cc528b0..fb5639984 100644 --- a/itl/command-plugins.conf +++ b/itl/command-plugins.conf @@ -2694,6 +2694,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)" }