[Nagiosplug-checkins] CVS: nagiosplug/plugins-scripts check_oracle.sh,1.10,1.11

Ton Voon tonvoon at users.sourceforge.net
Wed Aug 18 12:47:05 CEST 2004


Update of /cvsroot/nagiosplug/nagiosplug/plugins-scripts
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25849

Modified Files:
	check_oracle.sh 
Log Message:
Fix for similar dataabase sids (Carole Verdon)


Index: check_oracle.sh
===================================================================
RCS file: /cvsroot/nagiosplug/nagiosplug/plugins-scripts/check_oracle.sh,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -r1.10 -r1.11
*** check_oracle.sh	8 Apr 2004 11:05:11 -0000	1.10
--- check_oracle.sh	18 Aug 2004 19:46:18 -0000	1.11
***************
*** 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