FTP Monitor File Existence Verification
Problem this snippet solves: This external monitor performs a health check of a FTP sever using curl. There is an inbuilt FTP monitor for LTM. However, If one needs to script it you can use the info...
Published Mar 12, 2015
Version 1.0Mark_Ansley_145
Historic F5 Account
Joined May 04, 2019
Mark_Ansley_145
Historic F5 Account
Joined May 04, 2019
Christopher_You
Oct 23, 2019Nimbostratus
I had to change lines 16 and 19 to get this monitor to work - the brackets were missing. Tested on 14.1
16. IP=`echo ${1} | sed 's/::ffff://'`
19. PORT=${2}
You can also do this on line 54:
curl -u ${FTPUSER}:${FTPPASS} ftp://${IP}:${PORT}/${FILENAME} /dev/null 2>&1