[Nagiosplug-checkins] nagiosplug/plugins-scripts check_oracle.sh,1.13,1.14
Ton Voon
tonvoon at users.sourceforge.net
Wed Dec 1 12:11:05 CET 2004
- Previous message: [Nagiosplug-checkins] nagiosplug/plugins check_by_ssh.c,1.22,1.23 check_dig.c,1.27,1.28 check_disk.c,1.47,1.48 check_dns.c,1.29,1.30 check_fping.c,1.14,1.15 check_ssh.c,1.15,1.16
- Next message: [Nagiosplug-checkins] nagiosplug/tools devmode,1.1,1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/nagiosplug/nagiosplug/plugins-scripts
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16773
Modified Files:
check_oracle.sh
Log Message:
Fixed pmon process checking from a change I made earlier
Index: check_oracle.sh
===================================================================
RCS file: /cvsroot/nagiosplug/nagiosplug/plugins-scripts/check_oracle.sh,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -d -r1.13 -r1.14
--- check_oracle.sh 1 Dec 2004 03:26:59 -0000 1.13
+++ check_oracle.sh 1 Dec 2004 20:09:59 -0000 1.14
@@ -158,7 +158,7 @@
}'
;;
--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
- Previous message: [Nagiosplug-checkins] nagiosplug/plugins check_by_ssh.c,1.22,1.23 check_dig.c,1.27,1.28 check_disk.c,1.47,1.48 check_dns.c,1.29,1.30 check_fping.c,1.14,1.15 check_ssh.c,1.15,1.16
- Next message: [Nagiosplug-checkins] nagiosplug/tools devmode,1.1,1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Commits
mailing list