summaryrefslogtreecommitdiffstats
path: root/plugins-scripts
diff options
context:
space:
mode:
authorTon Voon <tonvoon@users.sourceforge.net>2004-08-18 20:25:04 (GMT)
committerTon Voon <tonvoon@users.sourceforge.net>2004-08-18 20:25:04 (GMT)
commit0bd9615bd28719a1219300a3c040ad3aa6f3dea1 (patch)
treea91463546456f700018596c8c67dc3b79aca6b1d /plugins-scripts
parentce1d727ac7bbd6844a64d6fb9a12c6aa06b41db5 (diff)
downloadmonitoring-plugins-0bd9615bd28719a1219300a3c040ad3aa6f3dea1.tar.gz
More specific test for sid (Paul Allen)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@886 f882894a-f735-0410-b71e-b25c423dba1c
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 6351f8f..2ac01ba 100755
--- a/plugins-scripts/check_oracle.sh
+++ b/plugins-scripts/check_oracle.sh
@@ -158,7 +158,7 @@ case "$cmd" in
158 }' 158 }'
159 ;; 159 ;;
160--db) 160--db)
161 pmonchk=`ps -ef | grep -v grep | grep ${2}$ | grep -c pmon` 161 pmonchk=`ps -ef | grep -v grep | grep "^${2}$" | grep -c pmon`
162 if [ ${pmonchk} -ge 1 ] ; then 162 if [ ${pmonchk} -ge 1 ] ; then
163 echo "${2} OK - ${pmonchk} PMON process(es) running" 163 echo "${2} OK - ${pmonchk} PMON process(es) running"
164 exit $STATE_OK 164 exit $STATE_OK