[Nagiosplug-checkins] CVS: nagiosplug/plugins-scripts check_oracle.sh,1.11,1.12
Ton Voon
tonvoon at users.sourceforge.net
Wed Aug 18 13:26:08 CEST 2004
Update of /cvsroot/nagiosplug/nagiosplug/plugins-scripts
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1888
Modified Files:
check_oracle.sh
Log Message:
More specific test for sid (Paul Allen)
Index: check_oracle.sh
===================================================================
RCS file: /cvsroot/nagiosplug/nagiosplug/plugins-scripts/check_oracle.sh,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -r1.11 -r1.12
*** check_oracle.sh 18 Aug 2004 19:46:18 -0000 1.11
--- check_oracle.sh 18 Aug 2004 20:25:04 -0000 1.12
***************
*** 159,163 ****
;;
--db)
! pmonchk=`ps -ef | grep -v grep | grep ${2}$ | grep -c pmon`
if [ ${pmonchk} -ge 1 ] ; then
echo "${2} OK - ${pmonchk} PMON process(es) running"
--- 159,163 ----
;;
--db)
! pmonchk=`ps -ef | grep -v grep | grep "^${2}$" | grep -c pmon`
if [ ${pmonchk} -ge 1 ] ; then
echo "${2} OK - ${pmonchk} PMON process(es) running"
More information about the Commits
mailing list