ITL: Add timeout option for mysql_health CheckCommand

fixes #13431
This commit is contained in:
Roman Gerhardt 2016-12-06 17:49:01 +01:00 committed by Michael Friedrich
parent c036bfaa94
commit 283cf185ec
2 changed files with 5 additions and 0 deletions

View File

@ -2045,6 +2045,7 @@ mysql_health_negate | **Optional.** Emulate the negate plugin. --ne
mysql_health_withmymodulesdyndir | **Optional.** Add-on modules for the my-modes will be searched in this directory."
mysql_health_statefilesdir | **Optional.** An alternate directory where the plugin can save files."
mysql_health_isvalidtime | **Optional.** Signals the plugin to return OK if now is not a valid check time."
mysql_health_timeout | **Optional.** Plugin timeout. Defaults to 60s.
#### <a id="plugin-contrib-command-oracle_health"></a> oracle_health

View File

@ -238,6 +238,10 @@ object CheckCommand "mysql_health" {
value = "$mysql_health_isvalidtime$"
description = "Signals the plugin to return OK if now is not a valid check time."
}
"--timeout" = {
value = "$mysql_health_timeout$"
description = "plugin timeout. Default is 60 seconds"
}
}
vars.mysql_health_hostname = "$check_address$"