Merge pull request #7748 from pdorschner/bugfix/oracle_health_notemp

ITL: Add notemp parameter to oracle health
This commit is contained in:
Michael Friedrich 2020-01-14 12:07:54 +01:00 committed by GitHub
commit 7caa0867b3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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"