Forum Discussion
Shane_Terrick_9
Nimbostratus
Jun 25, 2013trouble with monitor
I am tryign to monitor the following webpage from my appserver.
http:////health/healthHandler.ashx?mode=loadbalancer
It shoudl return
{"Status":0}
For a healthy webs...
nitass
Employee
Jun 25, 2013can you try this?
[root@ve10:Active] config b monitor myhttp list
monitor myhttp {
defaults from http
interval 1
timeout 4
recv "\{\"Status\":0\}"
send "GET /healthHandler.ashx?mode=loadbalancer HTTP/1.1\r\nHost: \r\nConnect ion: Close\r\n\r\n"
}
[root@ve10:Active] config b pool foo list
pool foo {
monitor all myhttp
members 200.200.200.101:80 {}
}
[root@ve10:Active] config b monitor myhttp list
monitor myhttp {
defaults from http
interval 1
timeout 4
recv "\{\"Status\":0\}"
send "GET /healthHandler.ashx?mode=loadbalancer HTTP/1.1\r\nHost: \r\nConnection: Close\r\n\r\n"
}
[root@ve10:Active] config b pool foo|grep -i pool\ member
+-> POOL MEMBER foo/200.200.200.101:80 active,up
[root@ve10:Active] config
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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