Module: check_mk
Branch: master
Commit: d47f91065530020a7b199487af04d65a2ec0cf81
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=d47f9106553002…
Author: Simon Betz <si(a)mathias-kettner.de>
Date: Wed Nov 23 14:49:52 2016 +0100
4091 FIX oracle_tablespace: Werk 3907 broke the detection of UNDO- and TEMP-Tablespaces
---
.werks/4091 | 10 ++++++++++
ChangeLog | 1 +
checks/oracle_tablespaces | 2 +-
3 files changed, 12 insertions(+), 1 deletion(-)
diff --git a/.werks/4091 b/.werks/4091
new file mode 100644
index 0000000..eafa5a3
--- /dev/null
+++ b/.werks/4091
@@ -0,0 +1,10 @@
+Title: oracle_tablespace: Werk 3907 broke the detection of UNDO- and TEMP-Tablespaces
+Level: 1
+Component: checks
+Class: fix
+Compatible: compat
+State: unknown
+Version: 1.4.0i3
+Date: 1479908955
+
+
diff --git a/ChangeLog b/ChangeLog
index 4f6e55a..5258b68 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -20,6 +20,7 @@
* 3751 FIX: jolokia_metrics: Discovery no longer crashes in case of error querying
instance
* 4088 FIX: ntp: fixed incomplete data handling
* 4090 FIX: apc_rackpdu_power, apc_symmetra, apc_symmetra_input, apc_symmetra_output:
some fixes...
+ * 4091 FIX: oracle_tablespace: Werk 3907 broke the detection of UNDO- and
TEMP-Tablespaces
Multisite:
* 3974 FIX: Sorting comments in hover menu of comments icon by time now
diff --git a/checks/oracle_tablespaces b/checks/oracle_tablespaces
index 2985125..db179a1 100644
--- a/checks/oracle_tablespaces
+++ b/checks/oracle_tablespaces
@@ -109,7 +109,7 @@ def parse_oracle_tablespaces(info):
db_version = 0
- if len(line) == 14:
+ if len(line) >= 14:
ts_type = line[13]
else:
# old behaivor is all Tablespaces are treated as PERMANENT