The pool members do not belong to a Virtual Server as of yet. The only information I have at this point is the DNS names:
lclte00hpuiq1p.test.com
lclte00ipuiq1p.test.com
I do not believe I can match a common http host header without a VS, or any Header field? It would be nice to use one monitor for one pool, because I have many to do like this, but I do not see how.
I was thinking it could look like this:
b monitor test_pool_monitor_7111 '{
defaults from https
interval 30
timeout 91
password "pass"
recv "Server Up"
send "GET /monitor/bigip.html HTTP/1.1 \nHost:lclte00hpuiq1p.test.com \nConnection: Close\n\n\r\n"
username "joe"
}'
b monitor test_pool_monitor_7112 '{
defaults from https
interval 30
timeout 91
password "pass"
recv "Server Up"
send "GET /monitor/bigip.html HTTP/1.1 \nHost:lclte00ipuiq1p.test.com \nConnection: Close\n\n\r\n"
username "joe"
}'
b pool test_pool '{
members {
1.1.1.1:7111
monitor all test_pool_monitor_7111
2.2.2.2:7112
monitor all test_pool_monitor_7112
}
}'