FTP

check_ftp_fully

Description:

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

Compatible With

  • Nagios 2.x
  • Nagios 3.x

Project Notes
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. 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.
Reviews (2) Add a Review
Very nice plugin, needs a small fix.
by pcdummy, November 30, 2014

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



Nice plugin needs some fixes though
by daniel304, August 31, 2012

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



Add a Review

You must be logged in to submit a review.

Thank you for your review!

Your review has been submitted and is pending approval.

Recommend

To:


From:


Thank you for your recommendation!

Your recommendation has been sent.

Project Stats
Rating
4 (2)
Favorites
0
Views
102,349