Forum Discussion
monitoring external file via IRules
HTTP_REQUEST {
................
2 Virtual servers HTTP/HTTPS
2 Pools "YYY and ZZZ"
YYY/ZZZ pool member IP 192.168.254.289 over port 80 contains
health monitor that looks at a text file string. If the string
is NOT there the member YYY/ZZZ is marked DOWN.
If YYY/ZZZ is marked DOWN, route traffic to ONE of the pool members YYY/ZZZ
if { ([pool YYY/ZZZ member 192.168.254.189 80] < 1) } {
go to fail over server
pool YYY/ZZZ member 167.3.11.93 443
} else {
stay on primary server
pool YYY/ZZZ member 167.3.10.93 443
}
........
}
Hope this helps anyone else.
Thanks!
Regards,
TRX
Recent Discussions
Related Content
* 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