[Ultrapossum-cvs 603] plugin/snmp/snmppass.d 1.11,1.12,snmpgen

アーカイブの一覧に戻る

Masato Taruishi taru****@users*****
2004年 9月 28日 (火) 22:32:59 JST


===================================================================
RCS file: plugin/snmp/snmppass.d/snmpgen,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- plugin/snmp/snmppass.d/snmpgen	2004/09/11 02:16:56	1.11
+++ plugin/snmp/snmppass.d/snmpgen	2004/09/28 13:32:59	1.12
@@ -25,7 +25,7 @@
 fi
 
 failover() {
-  if ps ax -o cmd= | grep "$hasysconfdir/resource.d/ldap start" | grep -v grep > /dev/null; then
+  if test "x$FAILOVER_RECOVERY_PIDFILE" != "x" && test "x`$MODULEDIR/server/pid status $FAILOVER_RECOVERY_PIDFILE`" = "xrunning"; then
     return 0
   else
     return 1



Ultrapossum-cvs メーリングリストの案内
アーカイブの一覧に戻る