mirror of https://github.com/Icinga/icinga2.git
check_mysql: don't set -H if -s is given
... as -H overrides -s. refs #8017
This commit is contained in:
parent
f71be9e802
commit
a8cf3b39a3
|
@ -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)"
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue