i have three servers which i load balance on an ad4. the health check should be with:
open 80 send "GET /index.html HTTP/1.1\\\\r\\\\n\\\\r\\\\n" expect "HTTP/1.1 200 OK" close
but this failes !?
it works with:
open 80 send "GET /index.html HTTP/1.1\\\\r\\\\nHOST:IP1:80\\\\r\\\\n\\\\r\\\\n" expect "HTTP/1.1 200 OK" close
this works with all three servers, but the IP i filled in is just the IP of server1.
what happens when server1 goes down at all ? why is it like that ? why is it not working like shown in the first script ?