Wed Aug 22 10:50:10 PDT 2007
- Previous message: [Slony1-commit] slony1-www/content frontpage.txt
- Next message: [Slony1-commit] slony1-engine/tools check_slony_cluster.sh
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Update of /home/cvsd/slony1/slony1-engine/tools
In directory main.slony.info:/tmp/cvs-serv28988
Modified Files:
Tag: REL_1_2_STABLE
check_slony_cluster.sh
Log Message:
Improvement to Nagios check - checks to see that there are nodes in the
listing.
-- Michael Best <mbest at pendragon.org>
Index: check_slony_cluster.sh
===================================================================
RCS file: /home/cvsd/slony1/slony1-engine/tools/check_slony_cluster.sh,v
retrieving revision 1.3
retrieving revision 1.3.4.1
diff -C2 -d -r1.3 -r1.3.4.1
*** check_slony_cluster.sh 22 Mar 2005 17:30:10 -0000 1.3
--- check_slony_cluster.sh 22 Aug 2007 17:50:08 -0000 1.3.4.1
***************
*** 70,74 ****
# and check the return status
STATUS=`echo $CHECK | awk '{print $1}'`
! if [ $STATUS = "OK" ]
then
exit 0
--- 70,75 ----
# and check the return status
STATUS=`echo $CHECK | awk '{print $1}'`
! NODESOK=`echo $CHECK | awk '{print $3}'`
! if [[ $STATUS = "OK" && $NODESOK != "0" ]]
then
exit 0
- Previous message: [Slony1-commit] slony1-www/content frontpage.txt
- Next message: [Slony1-commit] slony1-engine/tools check_slony_cluster.sh
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Slony1-commit mailing list