ITL: Add timeout option for oracle_health CheckCommand

fixes #12739
This commit is contained in:
Yannick Charton 2016-09-21 14:09:43 +02:00 committed by Michael Friedrich
parent df8a408228
commit 0742301b1d
2 changed files with 5 additions and 0 deletions

View File

@ -2036,6 +2036,7 @@ oracle_health_units | **Optional.** This is used for a better outpu
oracle_health_ident | **Optional.** If set to true, outputs instance and database names. Defaults to false.
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.
Environment Macros:

View File

@ -392,6 +392,10 @@ object CheckCommand "oracle_health" {
set_if = "$oracle_health_noperfdata$"
description = "do not output performance data"
}
"--timeout" = {
value = "$oracle_health_timeout$"
description = "plugin timeout. Default is 60 seconds"
}
}
env = {