mirror of https://github.com/Icinga/icinga2.git
ITL: Add report option to shorten output in oracle_health CheckCommand
fixes #4963 fixes #4661 Signed-off-by: Michael Friedrich <michael.friedrich@icinga.com>
This commit is contained in:
parent
3c05885638
commit
1373a5e788
|
@ -2075,6 +2075,7 @@ 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.
|
||||
|
||||
Environment Macros:
|
||||
|
||||
|
|
|
@ -400,6 +400,10 @@ object CheckCommand "oracle_health" {
|
|||
value = "$oracle_health_timeout$"
|
||||
description = "plugin timeout. Default is 60 seconds"
|
||||
}
|
||||
"--report" = {
|
||||
value = "$oracle_health_report$"
|
||||
description = "select the plugin output format. Can be short, long or html. Default is long"
|
||||
}
|
||||
}
|
||||
|
||||
env = {
|
||||
|
@ -411,6 +415,7 @@ object CheckCommand "oracle_health" {
|
|||
vars.oracle_health_ident = false
|
||||
vars.oracle_health_commit = false
|
||||
vars.oracle_health_noperfdata = false
|
||||
vars.oracle_health_report = "long"
|
||||
|
||||
vars.oracle_home = "/usr/lib/oracle/11.2/client64/lib"
|
||||
vars.oracle_tns_admin = SysconfDir + "/icinga2/plugin-configs"
|
||||
|
|
Loading…
Reference in New Issue