diff --git a/doc/10-icinga-template-library.md b/doc/10-icinga-template-library.md index 5f84dceed..83377f5c6 100644 --- a/doc/10-icinga-template-library.md +++ b/doc/10-icinga-template-library.md @@ -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: diff --git a/itl/plugins-contrib.d/databases.conf b/itl/plugins-contrib.d/databases.conf index ecd436502..b47862bdf 100644 --- a/itl/plugins-contrib.d/databases.conf +++ b/itl/plugins-contrib.d/databases.conf @@ -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"