added monitoring of ftp ports
authorAndrew Tridgell <tridge@samba.org>
Fri, 26 Oct 2007 04:53:09 +0000 (14:53 +1000)
committerAndrew Tridgell <tridge@samba.org>
Fri, 26 Oct 2007 04:53:09 +0000 (14:53 +1000)
config/events.d/40.vsftpd

index 525b69bf79d562e4a7a594a8d4f98c104fcb606a..d5f8541bb7ea933574d4268dd27ec28dd7177d6b 100755 (executable)
@@ -40,6 +40,10 @@ case $cmd in
 
        /bin/rm -f $CTDB_BASE/state/vsftpd/restart
        ;;
+
+     monitor)
+       ctdb_check_tcp_ports "ftp" 20 21
+       ;;
 esac
 
 exit 0