Module: check_mk
Branch: master
Commit: 38dc4f45766e89449ca604f79659eefa6ba9685b
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=38dc4f45766e89…
Author: Bastian Kuhn <bk(a)mathias-kettner.de>
Date: Fri Aug 1 13:56:56 2014 +0200
#0192 FIX oracle_rman_backups: Not longer try to make a inventory for broken plugin
outputs
---
.werks/192 | 10 ++++++++++
ChangeLog | 1 +
checks/oracle_rman_backups | 3 ++-
3 files changed, 13 insertions(+), 1 deletion(-)
diff --git a/.werks/192 b/.werks/192
new file mode 100644
index 0000000..e57a96c
--- /dev/null
+++ b/.werks/192
@@ -0,0 +1,10 @@
+Title: oracle_rman_backups: Not longer try to make a inventory for broken plugin outputs
+Level: 1
+Component: checks
+Class: fix
+Compatible: compat
+State: unknown
+Version: 1.2.5i6
+Date: 1406894132
+
+
diff --git a/ChangeLog b/ChangeLog
index c2198e6..f20fdb9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -10,6 +10,7 @@
* 1142 FIX: winperf_ts_sessions: fix computation, check has never really worked
* 1090 FIX: zfsget: fixed exception which happened on incomplete zfs entries
* 0187 FIX: hp_proliant_power: Fixed Wato configuration
+ * 0192 FIX: oracle_rman_backups: Not longer try to make a inventory for broken plugin
outputs
Multisite:
* 1066 Implemented Dashboard Designer...
diff --git a/checks/oracle_rman_backups b/checks/oracle_rman_backups
index e9f2fa5..17e5f5e 100644
--- a/checks/oracle_rman_backups
+++ b/checks/oracle_rman_backups
@@ -31,7 +31,8 @@
def inventory_oracle_rman_backups(info):
inventory = []
for line in info:
- inventory.append(("%s.%s" % (line[0], " ".join(line[5:])),
{}))
+ if line[1] != "FAILURE":
+ inventory.append(("%s.%s" % (line[0], "
".join(line[5:])), {}))
return inventory
def check_oracle_rman_backups(item, params, info):