External health monitor

Hello need help figure out if the external health monitor is working or not. We have a pool in the LTM configured with an external monitor. The pool has 2 server members and each member is set up to listen on ports 58139 and 58339. The pool members are showing down. How do I test or determine that the monitor is working properly;

Clean up batch file from /var/tmp/ directory as new one will be created with each run

rm $batch_file

If variable health_check equals 2 from the word count above mark the pool UP

if [ “$health_check” = “2” ] then echo “UP”

Else if the variable health_check equals anything other than 2, the pool will be marked down and log

else

logger -p local0.notice “$SFTP_MONITOR($member_ip:$member_port) SFTP Healthcheck Failed:”

exit 1; fi;

Hello,

If that is the whole content of your external monitor for sure it is not working.

Those articles will be helpful:

https://devcentral.f5.com/articles/ltm-external-monitors-the-basics

https://devcentral.f5.com/wiki/AdvDesignConfig.ExternalMonitor.ashx

Regards

I finally figured it out. They did not add the SSH Key in the F5. Thanks all.