Forum Discussion
TJ_Vreugdenhil
Dec 28, 2011Cirrus
Monitor send string
I am creating one pool with two pool members with two different IP's and ports, but I want to create a monitor that will check for both pool member host names? The problem is the VIP is going to be created in the future, so I can't match the URL name just yet. Is there a way to do this, or an alternative way? The config below is as follows on 10.2 software:
b monitor test_pool_monitor '{
defaults from https
interval 30
timeout 91
password "pass"
recv "Server Up"
send "GET /monitor/bigip.html HTTP/1.1 \nHost:examplesite1.test.com \nConnection: Close\n\n\r\n"
username "joe"
}'
b pool test_pool '{
monitor all test_pool_monitor
members {
1.1.1.1:7111
2.2.2.2:7112
}
}'
DNS: examplesite1 IP: 1.1.1.1 Ports: 7111
DNS: examplesite2 IP: 2.2.2.2 Ports: 7112
- nitassEmployeenot sure if i understand correctly. if you want to use different health monitor parameter, e.g. http host header, for each pool member, why won't you assign the monitor to pool member level instead of pool one?
[root@ve1023:Active] config b pool foo list pool foo { members { 200.200.200.101:80 { monitor myhttp1 } 200.200.200.102:80 { monitor myhttp2 } } }
- arghh... you're right. Thank you!
- nitassEmployeejust curious since both pool members belong to one virtual server, shouldn't they support a common http host header e.g. examplesite.test.com?
- nitassEmployee
sorry it is duplicated...
- 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:
- HamishCirrocumulusYou can use 1 monitor for HTTP/1.1 if the host header used is the same between the two hosts. It doesn't matter if a VS is created yet or not. That's independent. There's no connection between the VS and the monitor except that the status of the VS inherits the status of the default pool which is a result of the monitors results.
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects