Module: check_mk
Branch: master
Commit: cb3ff63b0408976a626e4177dc05de6d20d3d393
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=cb3ff63b040897…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Mon Mar 9 15:41:36 2015 +0100
#2095 FIX oracle_crs_voting: Also handling voting disks with id 0 (seen on old CRS
10.2.0.5.0)
Current CRS versions start enumerating the voting disks with number 1. These were
handled by the agent before. We spotted a voting disk numbered with 0, this was
detected with version 10.2.0.5.0.
---
.werks/2095 | 12 ++++++++++++
ChangeLog | 1 +
agents/plugins/mk_oracle_crs | 2 +-
3 files changed, 14 insertions(+), 1 deletion(-)
diff --git a/.werks/2095 b/.werks/2095
new file mode 100644
index 0000000..c5de0e9
--- /dev/null
+++ b/.werks/2095
@@ -0,0 +1,12 @@
+Title: oracle_crs_voting: Also handling voting disks with id 0 (seen on old CRS
10.2.0.5.0)
+Level: 1
+Component: checks
+Class: fix
+Compatible: compat
+State: unknown
+Version: 1.2.7i1
+Date: 1425911976
+
+Current CRS versions start enumerating the voting disks with number 1. These were
+handled by the agent before. We spotted a voting disk numbered with 0, this was
+detected with version 10.2.0.5.0.
diff --git a/ChangeLog b/ChangeLog
index 08625f1..b4debe9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -241,6 +241,7 @@
* 2046 FIX: Replace GBit with Gbit, MBit with Mbit, KBit with Kbit...
* 2098 FIX: ibm_svc_mdiskgrp: fix rounding bug, decimal digits of size (GB, TB) were
always lost
* 2094 FIX: Fixed missing agent section when ntpq times out after 5 seconds
+ * 2095 FIX: oracle_crs_voting: Also handling voting disks with id 0 (seen on old CRS
10.2.0.5.0)...
Multisite:
* 1758 Improved exception hander: Shows details without additional debug request,
added mailto link for error report...
diff --git a/agents/plugins/mk_oracle_crs b/agents/plugins/mk_oracle_crs
index 17df7e0..5bf2da2 100755
--- a/agents/plugins/mk_oracle_crs
+++ b/agents/plugins/mk_oracle_crs
@@ -85,7 +85,7 @@ function printcrsdata() {
echo $crs_version
echo "<<<oracle_crs_voting>>>"
- $CRSCTL query css votedisk | grep "^ [1-9]"
+ $CRSCTL query css votedisk | grep "^ [0-9]"
ps -e | grep crsd.bin > /dev/null || exit 0
echo "<<<oracle_crs_res:sep(124)>>>"