Forum Discussion
hooleylist
Jul 07, 2010Cirrostratus
Hi Alberto,
You can check the status of a pool using LB::status:
http://devcentral.f5.com/wiki/default.aspx/iRules/lb__status
However there isn't a way to change the monitor assigned to a pool from an iRule. If a pool member was already marked down, you could use HTTP::retry to send a new HTTP request. You might be able to specify the IP and port to send that request to using the node command. I'm not sure whether this would work if the node address had also been marked down though.
http://devcentral.f5.com/wiki/default.aspx/iRules/http__retry
http://devcentral.f5.com/wiki/default.aspx/iRules/node
Aaron