mirror of https://github.com/Icinga/icinga2.git
Add additional arguments to mssql_health
fixes #5063 Signed-off-by: Gunnar Beutner <gunnar.beutner@icinga.com>
This commit is contained in:
parent
34c69d9556
commit
efdbfb764b
|
@ -2015,6 +2015,9 @@ mssql_health_regexp | **Optional.** If set to true, "mssql_health_n
|
|||
mssql_health_units | **Optional.** This is used for a better output of mode=sql and for specifying thresholds for mode=tablespace-free. Possible values are "%", "KB", "MB" and "GB".
|
||||
mssql_health_offlineok | **Optional.** Set this to true if offline databases are perfectly ok for you. Defaults to false.
|
||||
mssql_health_commit | **Optional.** Set this to true to turn on autocommit for the dbd::sybase module. Defaults to false.
|
||||
mssql_health_notemp | **Optional.** Set this to true to ignore temporary databases/tablespaces. Defaults to false.
|
||||
mssql_health_nooffline | **Optional.** Set this to true to ignore offline databases. Defaults to false.
|
||||
mssql_health_lookback | **Optional.** The amount of time you want to look back when calculating average rates.
|
||||
|
||||
#### <a id="plugin-contrib-command-mysql_health"></a> mysql_health
|
||||
|
||||
|
|
|
@ -85,11 +85,25 @@ object CheckCommand "mssql_health" {
|
|||
set_if = "$mssql_health_commit$"
|
||||
description = "turns on autocommit for the dbd::sybase module"
|
||||
}
|
||||
"--notemp" = {
|
||||
set_if = "$mssql_health_notemp$"
|
||||
description = "Ignore temporary databases/tablespaces"
|
||||
}
|
||||
"--nooffline" = {
|
||||
set_if = "$mssql_health_nooffline$"
|
||||
description = "Skip the offline databases"
|
||||
}
|
||||
"--lookback" = {
|
||||
value = "$mssql_health_lookback$"
|
||||
description = "The amount of time you want to look back when calculating average rates"
|
||||
}
|
||||
}
|
||||
|
||||
vars.mssql_health_regexp = false
|
||||
vars.mssql_health_offlineok = false
|
||||
vars.mssql_health_commit = false
|
||||
vars.mssql_health_notemp = false
|
||||
vars.mssql_health_nooffline = false
|
||||
}
|
||||
|
||||
object CheckCommand "mysql_health" {
|
||||
|
|
Loading…
Reference in New Issue