mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-24 22:24:44 +02:00
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:
commit
b4e85235aa
@ -2723,6 +2723,7 @@ object CheckCommand "mysql" {
|
|||||||
|
|
||||||
arguments = {
|
arguments = {
|
||||||
"-H" = {
|
"-H" = {
|
||||||
|
set_if = {{ !macro("$mysql_socket$") }}
|
||||||
value = "$mysql_hostname$"
|
value = "$mysql_hostname$"
|
||||||
description = "Host name, IP Address, or unix socket (must be an absolute path)"
|
description = "Host name, IP Address, or unix socket (must be an absolute path)"
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user