summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 54c21eb)
raw | patch | inline | side by side (parent: 54c21eb)
author | Ton Voon <tonvoon@users.sourceforge.net> | |
Wed, 1 Dec 2004 20:09:59 +0000 (20:09 +0000) | ||
committer | Ton Voon <tonvoon@users.sourceforge.net> | |
Wed, 1 Dec 2004 20:09:59 +0000 (20:09 +0000) |
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@963 f882894a-f735-0410-b71e-b25c423dba1c
plugins-scripts/check_oracle.sh | patch | blob | history |
index 1a23eb93221654a0e45f2fbaa838a6fab41d426a..99564917a9831950e9b0161e35f806ab43885f76 100755 (executable)
}'
;;
--db)
- pmonchk=`ps -ef | grep -v grep | grep ${2} | grep -c pmon`
+ pmonchk=`ps -ef | grep -v grep | grep -c "ora_pmon_${2}$"`
if [ ${pmonchk} -ge 1 ] ; then
echo "${2} OK - ${pmonchk} PMON process(es) running"
exit $STATE_OK