[Ultrapossum-cvs 385] plugin/snmp/snmppass.d 1.10,1.11,snmpgen

Back to archive index

Masato Taruishi taru****@users*****
2004年 9月 11日 (土) 11:16:56 JST


===================================================================
RCS file: plugin/snmp/snmppass.d/snmpgen,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- plugin/snmp/snmppass.d/snmpgen	2004/07/08 12:10:08	1.10
+++ plugin/snmp/snmppass.d/snmpgen	2004/09/11 02:16:56	1.11
@@ -69,6 +69,10 @@
         if failover; then
           echo "FAOVER"
         else
+	  if $MODULEDIR/server/pid status $SLAPD_SLAVE_PIDFILE 2>&1 | grep 'W:' > /dev/null; then
+	    echo "DEAD"
+	    exit 0
+	  fi
 	  echo "STOP"
         fi
 	exit 0



Ultrapossum-cvs メーリングリストの案内
Back to archive index