1) The txt file must actually be hosted in web-server directory, and not just 'located somewhere in the server', I mention that because you used
\
instead of
/
when mentioning your txt file location. Even when using Windows Server, the HTTP paths (directories) at the client-facing front-end are distinguished by
/
2) First check if the txt file opens directly in HTTP response body at
http://web-server-ip/server1/d/f5mon/f5mon.txt
. If yes, something like this may work:
ltm monitor http mon_http_custom {
defaults-from http
destination *:*
interval 5
ip-dscp 0
recv 1
recv-disable 0
send "GET /server1/d/f5mon/f5mon.txt HTTP/1.1\r\n"
time-until-up 0
timeout 16
}
Regards,