Build precise queries to find exactly what you need
Press ESC to close
Your review has been submitted and is pending approval.
This script uses lftp, a sophisticated ftp/http client, to check not only that a give FTP account is accessible, but that it is also able to list files and directories, to get and put files and to delete files. This simple script is fast, easy to configure, flexible and can be extended easily.
Current Version
Last Release Date
2009-09-03
Owner
Ioannis Aslanidis
Website
http://www.deathwing00.org/wordpress/?p=85
Download URL
http://www.deathwing00.org/nagios/check_ftp_fully
Compatible With
Sometimes, things like SELinux, a failed network mount point or wrong permissions cause an FTP account to not work properly. With this check, you will be able to detect it immediately.
I added a local "rm -f" to make it work. And added support for changeing the remote directory. http://downloads.pc-dummy.net/nagios/check_ftp_fully http://downloads.pc-dummy.net/nagios/check_ftp_fully.diff
LFTP won't just overwrite a local file 36a37 > FILEPUT=${FILEDIR}${FILENAME}.put 105c106 /dev/null --- > ${LFTP} -u ${USERNAME},${PASSWORD} -p${PORT} -e "GET ${FILENAME} -o ${FILEPUT}; QUIT" ${HOSTNAME} &> /dev/null 109a111 > rm ${FILEPUT} 120d121
You must be logged in to submit a review.
To:
From: