Module: check_mk
Branch: master
Commit: e874f984ab163db08b5e6cc9ed99dbbfc797a1cf
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=e874f984ab163d…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Tue Feb 12 15:55:43 2013 +0100
Fixed problem with new oracle_tablespaces parameters with old inventorized tuple format
---
checkman/oracle_tablespaces | 4 ++--
checks/oracle_tablespaces | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/checkman/oracle_tablespaces b/checkman/oracle_tablespaces
index 4139c57..6d2162c 100644
--- a/checkman/oracle_tablespaces
+++ b/checkman/oracle_tablespaces
@@ -55,7 +55,7 @@ examples:
# of maximum tablespace size and deactivate check of autoextend
- oracle_tablespaces_default_levels = {
+ oracle_tablespaces_defaults = {
"levels" : (20.0, 10.0),
"autoextend" : None
}
@@ -106,4 +106,4 @@ oracle_tablespaces_check_default_increment(bool): This setting does
not
{True}. That way the check will warn if the table space has its increment
size set to {1} (the ORACLE default value).
-oracle_tablespaces_default_levels(dict): A dictionary with the optional keys mentioned in
parameters
+oracle_tablespaces_defaults(dict): A dictionary with the optional keys mentioned in
parameters
diff --git a/checks/oracle_tablespaces b/checks/oracle_tablespaces
index 273fa0f..1ecca0d 100644
--- a/checks/oracle_tablespaces
+++ b/checks/oracle_tablespaces
@@ -55,7 +55,7 @@
# integer: MB.
oracle_tablespaces_default_levels = (10.0, 5.0)
-factory_settings["oracle_tablespaces_default_levels"] = {
+factory_settings["oracle_tablespaces_defaults"] = {
"levels" : (10.0, 5.0),
"magic_normsize" : 1000,
"levels_low" : (0.0, 0.0)
@@ -263,7 +263,7 @@ check_info['oracle_tablespaces'] = {
"inventory_function" : inventory_oracle_tablespaces,
"has_perfdata" : True,
"group" : "oracle_tablespaces",
- "default_levels_variable" : "oracle_tablespaces_default_levels",
+ "default_levels_variable" : "oracle_tablespaces_defaults",
"includes" : [ "oracle.include" ]
}
check_config_variables.append("oracle_tablespaces_check_default_increment")