summaryrefslogtreecommitdiffstats
path: root/plugins-scripts
diff options
context:
space:
mode:
authorJan Wagner <waja@cyconet.org>2013-10-22 11:40:43 (GMT)
committerJan Wagner <waja@cyconet.org>2013-10-22 11:40:43 (GMT)
commit739b272b65ab060b5d0f20cc3d89e6c5bc17e32b (patch)
treea0ac18fb1f0637f3d4100f10c4c12c4ef626b98c /plugins-scripts
parentef35403c26c846e65893c94ba7c09eeadfa391ab (diff)
parent3e2d2fcf1f9f53b62f3c08ddfcc0bc78ef1537f6 (diff)
downloadmonitoring-plugins-739b272b65ab060b5d0f20cc3d89e6c5bc17e32b.tar.gz
Merge branch 'github1207' of https://github.com/waja/nagios-plugins into github1207refs/pull/1210/head
Diffstat (limited to 'plugins-scripts')
-rwxr-xr-xplugins-scripts/check_oracle.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins-scripts/check_oracle.sh b/plugins-scripts/check_oracle.sh
index 2a8ab21..77eba2e 100755
--- a/plugins-scripts/check_oracle.sh
+++ b/plugins-scripts/check_oracle.sh
@@ -163,7 +163,7 @@ case "$cmd" in
163 }' 163 }'
164 ;; 164 ;;
165--db) 165--db)
166 pmonchk=`ps -ef | grep -v grep | grep -c "ora_pmon_${2}$"` 166 pmonchk=`ps -ef | grep -v grep | grep -E -c "(asm|ora)_pmon_${2}$"`
167 if [ ${pmonchk} -ge 1 ] ; then 167 if [ ${pmonchk} -ge 1 ] ; then
168 echo "${2} OK - ${pmonchk} PMON process(es) running" 168 echo "${2} OK - ${pmonchk} PMON process(es) running"
169 exit $STATE_OK 169 exit $STATE_OK