ReynaldoQ_14206
Jan 17, 2018Nimbostratus
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;