Monitor citrix through web interface servers
We load balance two citrix web interface servers and use a standard http health monitor on them. We need to figure out a monitor that will:
1. Connect to each web interface server
2. Accept the auto redirect from the server to an https:// citrix page
3. Log in to the page
4. Check the delivered page for a receive string.
5. If failure - mark that one web server as down (the one it connected to in step 1)
Is there a way to script this in an iRule? Other ideas? We're running 10.2.0 code.