Forum Discussion
Cory_50405
Jun 10, 2014Noctilucent
You can certainly do this. Your monitor would look something like this (replace 10.10.10.10 with your server IP address and put the correct host in the GET send string):
ltm monitor http http-test {
defaults-from http
destination 10.10.10.10:5100
interval 5
recv "200 OK"
send "GET /f5monitor.html HTTP/1.1\\r\\nHost: host.domain.com\\r\\nConnection: Close\\r\\n"
time-until-up 0
timeout 16
}
- ERLomboy_27803Jun 10, 2014NimbostratusHi Cory, Thanks for this. If there are two members of the pool, how do we do it? also, the host that you mentioned, is this the member hostname or the Public domain name? http://10.10.10.10:5100/f5monitor.html, http://10.10.10.11:5100/f5monitor.html
- Cory_50405Jun 10, 2014NoctilucentI think you could remove the alias destination address and just add the alias port of 5100 like John said. ltm monitor http http-test { defaults-from http destination *:socalia interval 5 recv "200 OK" send "GET /f5monitor.html HTTP/1.1\\r\\nHost: host.domain.com\\r\\nConnection: Close\\r\\n" time-until-up 0 timeout 16 }