Module: check_mk
Branch: master
Commit: ee7db1628656741e3c02c87305a957abd51a8470
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=ee7db162865674…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Wed Oct 26 12:43:40 2011 +0200
FIX: mk_oracle now also detects XE databases
---
ChangeLog | 5 +++++
agents/plugins/mk_oracle | 2 +-
2 files changed, 6 insertions(+), 1 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 7981b2d..b399e4f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -26,6 +26,11 @@
* FIX: Fixed encoding problem when opening dashboard
+1.1.12p1:
+ Checks & Agents:
+ * FIX: mk_oracle now also detects XE databases
+
+
1.1.12:
Checks & Agents:
* dell_powerconnect_*: final fixed, added PNP-templates
diff --git a/agents/plugins/mk_oracle b/agents/plugins/mk_oracle
index 98890fb..0069f22 100755
--- a/agents/plugins/mk_oracle
+++ b/agents/plugins/mk_oracle
@@ -26,7 +26,7 @@
# Check_MK agent plugin for monitoring ORACLE databases
# Get list of all running databases
-SIDS=$(UNIX95=true ps ax -o args | sed -n '/^ora_pmon_\([^ ]*\)/s//\1/p')
+SIDS=$(UNIX95=true ps ax -o args | sed -n '/^\(ora\|xe\)_pmon_\([^
]*\)/s//\2/p')
if [ -z "$SIDS" ] ; then exit 0 ; fi
CACHE_MAXAGE=120