ITL: Add notemp parameter to oracle health

This commit is contained in:
Philipp Dorschner 2020-01-13 15:35:07 +01:00
parent cb21086d6c
commit 9455c906e1
2 changed files with 7 additions and 1 deletions

View File

@ -2448,7 +2448,8 @@ oracle_health_ident | **Optional.** If set to true, outputs instanc
oracle_health_commit | **Optional.** Set this to true to turn on autocommit for the dbd::oracle module. Defaults to false.
oracle_health_noperfdata | **Optional.** Set this to true if you want to disable perfdata. Defaults to false.
oracle_health_timeout | **Optional.** Plugin timeout. Defaults to 60s.
oracle_health_report | **Optional.** Select the plugin output format. Can be short or long. Default to long.
oracle_health_report | **Optional.** Select the plugin output format. Can be short or long. Defaults to long.
oracle_health_notemp | **Optional.** Set this to true to hide temporary and system tablespaces. Defaults to false.
Environment Macros:

View File

@ -486,6 +486,10 @@ object CheckCommand "oracle_health" {
value = "$oracle_health_report$"
description = "select the plugin output format. Can be short, long or html. Default is long"
}
"--notemp" = {
set_if = "$oracle_health_notemp$"
description = "exclude temporary and system tables"
}
}
env = {
@ -499,6 +503,7 @@ object CheckCommand "oracle_health" {
vars.oracle_health_commit = false
vars.oracle_health_noperfdata = false
vars.oracle_health_report = "long"
vars.oracle_health_notemp = false
vars.oracle_home = "/usr/lib/oracle/11.2/client64/lib"
vars.oracle_ld_library_path = "/usr/lib/oracle/11.2/client64/lib"